updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / robotfindskitten / PKGBUILD
blob1f7697c3a483adc0aafd7ef3424316a4c75fda37
1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
2 # Contributor: muflax <muflax@gmail.com>
3 pkgname=robotfindskitten
4 pkgver=1.7320508.406
5 pkgrel=2
6 pkgdesc="Yet another zen simulation"
7 arch=('x86_64' 'i686')
8 url="http://www.robotfindskitten.org"
9 license=('GPL2')
10 depends=("ncurses")
11 source=("http://robotfindskitten.org/download/POSIX/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('6b9cf314ffee0de52ed85ac5ba11d66b')
14 build() {
15   cd $srcdir/${pkgname}-${pkgver}     
16   
17   msg2 "Configuring..."
18   ./configure --prefix=/usr
19   msg2 "Patching..."
20   sed -i src/Makefile -e \
21     's:execgamesdir = $(prefix)/games:execgamesdir = $(prefix)/bin:'
22   msg2 "Compiling..."
23   make
24   make -C doc
27 package() {
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"
36   msg2 "Cleaning up..."
37   rm -r "$pkgdir/usr/share/info"
39 # vim:set ts=2 sw=2 et: