updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / nero / PKGBUILD
blobbd028365ae7db520f8e3a9dc366bb0e8a4524e98
1 # Contributor: teddy_beer_maniac <teddy_beer_maniac@wp.pl>
2 pkgname=nero
3 pkgver=2
4 pkgrel=1
5 arch=('i686')
6 pkgdesc="Neuro-Evolving Robotic Operatives. A game of training and battle."
7 url="http://z.cs.utexas.edu/users/nn/nero/news.php"
8 license="other"
9 depends=('nas' 'aalib' 'arts' 'smpeg' 'libstdc++5')
10 source=(http://z.cs.utexas.edu/users/nn/nero/downloads/nero2_linux_i386.tar.gz nero.desktop icon.png)
11 md5sums=('0cca2730dfeb0d8c9820d62a82691587'
12          '9dca0963887e76f8b1f7fab4c5ba799b'
13          '7704da70e52ac4cccc6c5b9fd36aa19c')
14 build() 
16         mkdir -p ${startdir}/pkg/{opt/nero,usr/bin,usr/share/applications}
17         cp ${startdir}/src/icon.png ${startdir}/pkg/opt/nero
18         cp ${startdir}/src/nero.desktop ${startdir}/pkg/usr/share/applications
19         cp -R ${startdir}/src/nero2_linux_i386/* ${startdir}/pkg/opt/nero/
20         echo -e "#! /bin/bash\ncd /opt/nero\n./nero.bin" > ${startdir}/pkg/usr/bin/nero
21         chmod +x ${startdir}/pkg/usr/bin/nero