1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
2 # Contributor: muflax <muflax@gmail.com>
3 pkgname=robotfindskitten
6 pkgdesc="Yet another zen simulation"
8 url="http://www.robotfindskitten.org"
11 source=("http://robotfindskitten.org/download/POSIX/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('6b9cf314ffee0de52ed85ac5ba11d66b')
15 cd $srcdir/${pkgname}-${pkgver}
18 ./configure --prefix=/usr
20 sed -i src/Makefile -e \
21 's:execgamesdir = $(prefix)/games:execgamesdir = $(prefix)/bin:'
28 cd "$srcdir/$pkgname-$pkgver"
30 make prefix="$pkgdir/usr" install
31 msg2 "Packaging documentation..."
32 make -C doc prefix="$pkgdir/usr" install
33 msg2 "Packaging license..."
34 install -Dm644 COPYING \
35 "$pkgdir/usr/share/licenses/$pkgname/COPYING"
37 rm -r "$pkgdir/usr/share/info"
39 # vim:set ts=2 sw=2 et: