1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
3 pkgname=railroadrampage
6 pkgdesc="an action tower defence-type game"
8 url="http://neotron-games.blogspot.com/"
9 license=("custom:unknown")
10 install="railroadrampage.install"
11 source=("http://stuffz.l33t.in/mirror/RailroadRampage_Linux_${pkgver}.zip" "railroadrampage.desktop")
12 md5sums=('da592c555ebf2c1c890f4ac443896794'
13 '3eb28b43b6984d3158d2443c8603aabd')
14 depends=('bennugd-core' 'bennugd-modules')
21 mkdir -p $pkgdir/usr/{share/railroadrampage,bin}
22 cd $srcdir/RailroadRampage_Linux
23 /bin/tar cf - --exclude=bgdruntime --exclude=RailroadRampage.sh --exclude=RailroadRampage.dcb * | ( cd ../../pkg/usr/share/railroadrampage/; tar xfp - )
24 # fix file permissions (zip does not preserve those)
25 find $pkgdir/usr/share/railroadrampage -type f -print0 | xargs -0 chmod 644
27 cd /usr/share/railroadrampage
28 /usr/bin/bgdc RailroadRampage.prg
29 /usr/bin/bgdi RailroadRampage.dcb" > $pkgdir/usr/bin/railroadrampage
30 chmod 755 $pkgdir/usr/bin/railroadrampage
31 install -D -m644 $srcdir/RailroadRampage_Linux/RailroadRampage.png $pkgdir/usr/share/pixmaps/railroadrampage.png && \
32 install -D -m644 $srcdir/railroadrampage.desktop $pkgdir/usr/share/applications/railroadrampage.desktop