2 # Maintainer : archtux <antonio.arias99999 at gmail.com>
7 pkgdesc="A free multi-player 2-D space combat game with Robotron-like controls."
9 url="http://bitfighter.org/"
11 depends=('freealut' 'freeglut' 'openal')
13 source=(http://bitfighter.googlecode.com/files/$pkgname-$pkgver.tar.gz
17 md5sums=('b132aab82e7b9dd59e9d3b48b430227a'
18 '4c48351e246a5415df61c5ecb719f78a'
19 '8b28490af9deadd0a1a104ae372f5b08'
20 'e498568cdb2d92dff616cd095c1435a5')
24 mkdir -p $pkgdir/opt/bitfighter
25 install -Dm755 bitfighter.sh $pkgdir/usr/bin/bitfighter.sh
28 install -Dm644 bitfighter.png $pkgdir/usr/share/pixmaps/bitfighter.png
29 install -Dm644 bitfighter.desktop $pkgdir/usr/share/applications/bitfighter.desktop
31 cd $srcdir/$pkgname-$pkgver
32 make LUALIB=/usr/lib/liblua.a
33 cd $srcdir/$pkgname-$pkgver/installer
34 cp -R levels/ sfx/ $srcdir/$pkgname-$pkgver/exe
36 cp -R levels/ robots/ scripts/ sfx/ bitfighter $pkgdir/opt/bitfighter
39 chmod 4511 -R $pkgdir/opt/bitfighter
42 install -Dm644 $srcdir/$pkgname-$pkgver/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE