1 # Contributor: xnitropl <xnitropl at gmail dot com>
2 pkgname=shotgun-debugger
5 pkgdesc="A futuristic overhead action game."
6 url="http://www.msarnoff.org/sdb/"
9 depends=('sdl' 'sdl_mixer' 'sdl_image' 'libstdc++5' 'libgl')
10 source=(http://www.msarnoff.org/sdb/$pkgname-$pkgver-src.zip
15 md5sums=('13d4755b63762ef54040508946a7c375'
16 'ccb9684750f2e4d1ec0f1f7ba14422d6'
17 '097ae690acb76be4d155170a70af7751'
18 'ab15c7c351a3ec47f0e32c1cf25531e1'
19 '8b2a41e76da1224a8c49757d8723f601')
22 cd $srcdir/ShotgunDebuggerSource
23 patch -Np0 -i ../../limits.patch || return 1
24 patch -Np0 -i ../../localstatedir.patch || return 1
25 make clean all || return 1
27 mkdir -p $pkgdir/usr/share/games/$pkgname/Resources
28 cp -r $srcdir/ShotgunDebuggerSource/Resources/{levels,models,snd,sprites} $pkgdir/usr/share/games/$pkgname/Resources
29 chmod -R 755 $pkgdir/usr/share/games/$pkgname
31 cp $srcdir/ShotgunDebuggerSource/$pkgname $pkgdir/usr/share/games/$pkgname
32 install -D -m755 $startdir/$pkgname.sh $pkgdir/usr/bin/$pkgname
34 install -D -m644 $startdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
36 # vim:set ts=2 sw=2 et: