# $Id: PKGBUILD 41659 2009-06-06 09:58:59Z allan $ # Maintainer: Dale Blount # Contributor: Tom Newsom pkgname=moon-buggy pkgver=1.0 pkgrel=3 pkgdesc="Moon Buggy is a simple game for the text mode" arch=('i686' 'x86_64') depends=('ncurses') url="http://seehuhn.de/comp/moon-buggy" license=('GPL2') options=(!emptydirs) install=moon-buggy.install source=(http://seehuhn.de/data/$pkgname-$pkgver.tar.gz Makefile.in.patch) md5sums=('4da97ea40eca686f6f8b164d8b927e38' 'deddd0d5b65235911bc9ab36b0707580') build() { cd $srcdir/$pkgname-$pkgver patch -Np0 -i $srcdir/Makefile.in.patch ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info make || return 1 make DESTDIR=$pkgdir install || return 1 rm ${pkgdir}/usr/share/info/dir gzip -9 ${pkgdir}/usr/share/info/* }