PKGBUILDs/community/warzone2100/PKGBUILD
2009-10-09 21:15:33 -05:00

21 lines
656 B
Bash

# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
pkgname=warzone2100
pkgver=2.2.1
pkgrel=1
pkgdesc="3D realtime strategy game on a future Earth"
url="http://wz2100.net/"
arch=('i686' 'x86_64')
conflicts=(warzone)
license=(GPL)
depends=(sdl_net libgl openal libjpeg libpng libvorbis libmad physfs mesa quesoglc popt)
makedepends=(gawk bison flex zip unzip)
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
build() {
cd $startdir/src/${pkgname}-$pkgver
sh autogen.sh
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}