1 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
5 pkgdesc="An addictive game by Kenta Cho. An abstract shooter and tube race."
7 url="http://www.asahi-net.or.jp/~cs8k-cyu/windows/tt_e.html"
9 depends=('libbulletml' 'libgl' 'mesa' 'sdl_mixer')
10 makedepends=('gdc-bin')
11 source=(http://www.asahi-net.or.jp/~cs8k-cyu/windows/tt0_22.zip
12 http://ftp.de.debian.org/debian/pool/main/t/torus-trooper/torus-trooper_0.22.dfsg1-6.diff.gz
17 #Thanks for the debian game team for the patches
20 patch -p2 <../torus-trooper_0.22.dfsg1-6.diff
21 patch -p0 <../archpatch.diff
22 while read x;do patch -p1 <patches/"$x";done <patches/series
24 sed -i s,"share\/games","share",g ./torus-trooper-data.install \
25 ./src/abagames/util/sdl/texture.d ./src/abagames/util/sdl/sound.d \
26 ./src/abagames/tt/barrage.d
27 sed -i s,"\/games","\/bin",g ./torus-trooper.desktop ./torus-trooper.install
28 sed -i s,"game.xpm","torus-trooper.xpm",g ./torus-trooper.desktop
31 install -D -m755 $srcdir/tt/torus-trooper $pkgdir/usr/bin/torus-trooper
32 install -D -m644 $srcdir/tt/copyright $pkgdir/usr/share/licenses/torus-trooper/copyright
33 install -D -m644 $srcdir/tt/torus-trooper.desktop $pkgdir/usr/share/applications/torus-trooper.desktop
34 install -D -m644 $srcdir/tt/torus-trooper.xpm $pkgdir/usr/share/pixmaps/torus-trooper.xpm
35 cp -r $srcdir/tt $pkgdir/usr/share/torus-trooper
40 md5sums=('1abb57950b96f1a7f7ac8364e9a42322'
41 'c9598a1dea8eb4ec32c9387a48bfd2ad'
42 '2b12a2bab5bacb2b24ab4da12a0c8391')