updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / rrootage / PKGBUILD
bloba137629275990564b50532f845bd58a7bf0a7760
1 # Maintainer: Gadget3000 <gadget3000 at msn dot com>
2 # Contributor: Nick B <Shirakawasuna at gmail _dot_ com>
3 pkgname=rrootage
4 pkgver=0.23a
5 pkgrel=5
6 pkgdesc="An addictive game by Kenta Cho.  An abstract shooter with plenty of action!"
7 arch=('i686' 'x86_64')
8 url="http://rrootage.sourceforge.net/"
9 license=('custom')
10 depends=('mesa' 'sdl_mixer' 'libbulletml')
11 source=(http://downloads.sourceforge.net/rrootage/rRootage-0.23a.tar.gz
12                 http://ftp.de.debian.org/debian/pool/main/r/rrootage/rrootage_0.23a-9.diff.gz)
14 build() {
16 cd $srcdir/rRootage
17 patch -p1 <../rrootage_0.23a-9.diff
18 while read x;do [[ `echo $x | head -c1` != '#' ]] && patch -p1 <debian/patches/"$x";done <debian/patches/series
19 sed -i s,"\/games",,g ./src/screen.c ./src/barragemanager.cc ./src/soundmanager.c ./install.sh ./debian/rules ./readme_linux
20 sed -i s,"\/games","\/usr",g ./debian/menu
22 cd src
23 make -f makefile.lin || return 1
24 mkdir -p $pkgdir/usr/share/rrootage
25 cp -r $srcdir/rRootage/rr_share/* $pkgdir/usr/share/rrootage/
26 install -D -m755 $srcdir/rRootage/src/rrootage $pkgdir/usr/bin/rrootage
27 install -D -m644 $srcdir/rRootage/debian/rrootage.desktop $pkgdir/usr/share/applications/rrootage.desktop
28 install -D -m644 $srcdir/rRootage/debian/rrootage.xpm $pkgdir/usr/share/pixmaps/rrootage.xpm
29 install -D -m644 $srcdir/rRootage/readme_e.txt $pkgdir/usr/share/licenses/rrootage/readme_e.txt
31 md5sums=('fb12876d703594d915ec43a56bd9ce62'
32          'eca5212729551d290f9800cad3046581')