1 # Contributor: Nick B <Shirakawasuna at gmail _dot_ com>
5 pkgdesc="An addictive game by Kenta Cho. Navigate your abstract battleship and destroy enemies!"
7 url="http://www.asahi-net.or.jp/~cs8k-cyu/windows/gr_e.html"
9 depends=('libgl' 'mesa' 'sdl_mixer')
10 makedepends=('gdc-bin' 'gcc')
11 source=(http://ftp.de.debian.org/debian/pool/main/g/gunroar/gunroar_0.15.dfsg1.orig.tar.gz
12 http://ftp.de.debian.org/debian/pool/main/g/gunroar/gunroar_0.15.dfsg1-4.diff.gz)
16 patch -p2 <../${pkgname}_0.15.dfsg1-4.diff
18 patch -p1 <patches/"$x"
21 sed -i s,"\/games",,g ./$pkgname-data.install ./src/abagames/util/sdl/texture.d \
22 ./src/abagames/util/sdl/sound.d
23 sed -i s,"\/games","\/bin",g ./menu ./$pkgname.install ./$pkgname.desktop
26 mkdir -p $pkgdir/usr/share
27 install -D -m755 $srcdir/gr/gunroar $pkgdir/usr/bin/gunroar
29 cp -r $srcdir/gr $pkgdir/usr/share/gunroar
30 install -D -m644 $srcdir/gr/copyright $pkgdir/usr/share/licenses/$pkgname/copyright
31 install -D -m644 $srcdir/gr/gunroar.desktop $pkgdir/usr/share/applications/$pkgname.desktop
32 install -D -m644 $srcdir/gr/gunroar.xpm $pkgdir/usr/share/pixmaps/$pkgname.xpm
36 md5sums=('a2a5637f590fcc9369646fcb4a91bd1d'
37 '4428295df23fe2fb61ffb34adcaa9a0c')