summaryrefslogtreecommitdiff
path: root/extra/bzflag/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bzflag/PKGBUILD')
-rw-r--r--extra/bzflag/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/bzflag/PKGBUILD b/extra/bzflag/PKGBUILD
new file mode 100644
index 000000000..1589b32e7
--- /dev/null
+++ b/extra/bzflag/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 84161 2010-06-26 23:01:03Z kevin $
+# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
+# Maintainer: Kevin Piche <kevin@archlinux.org>
+
+pkgname=bzflag
+pkgver=2.0.16
+pkgrel=1
+pkgdesc="A multiplayer 3D tank battle game"
+depends=('curl' 'mesa' 'sdl')
+arch=('i686' 'x86_64')
+license=('LGPL')
+options=(!libtool)
+url="http://www.bzflag.org"
+source=(http://downloads.sourceforge.net/sourceforge/bzflag/$pkgname-$pkgver.tar.bz2)
+md5sums=('161b973bee586d43ebff4695dfb8c359')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+
+ # gnome menu entry and icon.
+ cd misc
+ make || return 1
+ mkdir -p ${pkgdir}/usr/share/{applications,pixmaps}
+ install -m644 bzflag.desktop $pkgdir/usr/share/applications/bzflag.desktop
+ install -m644 ../data/bzflag-48x48.png $pkgdir/usr/share/pixmaps/bzflag-48x48.png
+}