updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / scrabble3d / PKGBUILD
blob4b178609b17a75ba6fd753cc916eb10686131753
1 # Maintainer: Guillaume ALAUX <Guillaume at ALAUX dot net>
2 pkgname=scrabble3d
3 pkgver=3.1.0_25
4 pkgrel=1
5 pkgdesc="Highly customizable Scrabble game (classic, SuperScrabble, 3D games)"
6 arch=('i686' 'x86_64')
7 url="http://scrabble.game-server.cc/wiki"
8 license=('GPL')
10 source=(http://downloads.sourceforge.net/project/scrabble/Main_Program/Linux/Scrabble3D-i386.deb
11         http://downloads.sourceforge.net/project/scrabble/Main_Program/Linux/Scrabble3D-x86_64.deb)
12 if [ ${CARCH} = 'i686' ]; then
13   source=(http://downloads.sourceforge.net/project/scrabble/Main_Program/Linux/Scrabble3D-i386.deb)
14   md5sums=('8b4732a6faa4e3653ec3221ddee3fa5b')
15 elif [ ${CARCH} = 'x86_64' ]; then
16   source=(http://downloads.sourceforge.net/project/scrabble/Main_Program/Linux/Scrabble3D-x86_64.deb)
17   md5sums=('fd413dee14d4d1aa7a84477e9fad7c58')
20 package() {
21   cd "${srcdir}"
23   ar x Scrabble3D-*.deb
24   tar xf data.tar.gz -C ${pkgdir}
25   chmod -R 755 ${pkgdir}/usr