1 # Contributor: Arthur Danskin <arthurdanskin@gmail.com>
3 pkgname=triplexinvaders
6 pkgdesc="An alien invaders style computer game with 3d graphics"
8 url="http://triplexinvaders.infogami.com"
10 depends=('python-opengl' 'python-pygame' 'psyco')
11 source=(http://acm.jhu.edu/~arthur/invaders/$pkgname-$pkgver.tar.gz)
12 md5sums=('30a5c299c0411ed04428bccc90e46af1')
15 cd $startdir/src/$pkgname-$pkgver
16 install -D -m644 triplexinvaders.desktop $startdir/pkg/usr/share/applications/triplexinvaders.desktop
17 install -D -m644 LICENSE.txt $startdir/pkg/usr/share/licenses/triplexinvaders/LICENSE.txt
18 mkdir -p $startdir/pkg/usr/share/triplexinvaders
19 cp -r *.py models sound options.conf hiscores README.txt $startdir/pkg/usr/share/triplexinvaders
20 mkdir -p $startdir/pkg/usr/bin
21 echo -e "#!/bin/sh\ncd /usr/share/triplexinvaders\nexec python invaders.py\n" > $startdir/pkg/usr/bin/triplexinvaders
22 chmod 755 $startdir/pkg/usr/bin/triplexinvaders