PKGBUILDs/extra/moon-buggy/PKGBUILD

28 lines
834 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 41659 2009-06-06 09:58:59Z allan $
# Maintainer: Dale Blount <dale@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
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/*
}