mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
30 lines
906 B
Bash
30 lines
906 B
Bash
|
# $Id: PKGBUILD 9690 2008-08-18 07:14:23Z allan $
|
||
|
# 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=('i686' 'x86_64')
|
||
|
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
|
||
|
}
|