diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/xbill/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/xbill/PKGBUILD')
-rw-r--r-- | extra/xbill/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/xbill/PKGBUILD b/extra/xbill/PKGBUILD new file mode 100644 index 000000000..1791d4507 --- /dev/null +++ b/extra/xbill/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 22212 2008-12-23 06:11:22Z eric $ +# Maintainer: Arjan Timmerman <arjan@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=xbill +pkgver=2.1 +pkgrel=6 +pkgdesc="Xbill is a game that tests you reflexes as you seek and destroy all forms of Bill" +arch=('i686' 'x86_64') +url="http://www.xbill.org/" +license=('GPL') +depends=('xaw3d>=1.5E' 'libxaw') +install=xbill.install +source=(http://www.xbill.org/download/$pkgname-$pkgver.tar.gz) +md5sums=('585e4866b15255a24203db9959407b2f') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --mandir=/usr/share/man --localstatedir=/var/games \ + --disable-motif --enable-athena --disable-gtk || return 1 + make || return 1 + make DESTDIR=$pkgdir install || return 1 + +# set appropriate permissions and destinations + chown root:games $pkgdir/usr/bin/xbill + chmod 2755 $pkgdir/usr/bin/xbill + + chown root:games $pkgdir/var/games + chmod 775 $pkgdir/var/games + chown root:games $pkgdir/var/games/xbill + chmod 775 $pkgdir/var/games/xbill + +# Handle the scores file creation in the install script + rm $pkgdir/var/games/xbill/scores +} |