updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / shotgun-debugger / PKGBUILD
blob5c534846e5d0e855d7d564374b10de5fa5a3297f
1 # Contributor: xnitropl <xnitropl at gmail dot com>
2 pkgname=shotgun-debugger
3 pkgver=1.1
4 pkgrel=1
5 pkgdesc="A futuristic overhead action game."
6 url="http://www.msarnoff.org/sdb/"
7 arch=('i686' 'x86_64')
8 license=('GPLv3')
9 depends=('sdl' 'sdl_mixer' 'sdl_image' 'libstdc++5' 'libgl')
10 source=(http://www.msarnoff.org/sdb/$pkgname-$pkgver-src.zip
11         limits.patch
12         localstatedir.patch
13         $pkgname.sh
14         $pkgname.desktop)
15 md5sums=('13d4755b63762ef54040508946a7c375'
16          'ccb9684750f2e4d1ec0f1f7ba14422d6'
17          '097ae690acb76be4d155170a70af7751'
18          'ab15c7c351a3ec47f0e32c1cf25531e1'
19          '8b2a41e76da1224a8c49757d8723f601')
21 build() {
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: