PKGBUILDs/extra/bzflag/PKGBUILD
2009-10-18 22:17:58 -05:00

28 lines
846 B
Bash

# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
# Maintainer: Kevin Piche <kevin@archlinux.org>
pkgname=bzflag
pkgver=2.0.12
pkgrel=1
pkgdesc="A multiplayer 3D tank battle game"
depends=('curl>=7.16.2' 'mesa' 'sdl')
arch=('arm')
license=('LGPL')
options=(!libtool)
url="http://www.bzflag.org"
source=(http://downloads.sourceforge.net/sourceforge/bzflag/$pkgname-$pkgver.tar.bz2)
md5sums=('1228754cac3eaacd4badba5319f47b41')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
# gnome menu entry and icon.
cd misc
make
mkdir -p ${startdir}/pkg/usr/share/{applications,pixmaps}
install -m644 bzflag.desktop $startdir/pkg/usr/share/applications/bzflag.desktop
install -m644 ../data/bzflag-48x48.png $startdir/pkg/usr/share/pixmaps/bzflag-48x48.png
}