desktop/warzone2100/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) 69da7d426d Warzone 2100 upgraded to 2.3.8 version.
2011-05-17 19:32:25 +00:00

34 lines
923 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=warzone2100
pkgver=2.3.8
pkgrel=1
pkgdesc="3D real-time strategy game where you fight to rebuilt the world destroyed by nuclear war."
arch=('i686' 'x86_64')
url="http://wz2100.net/"
license=('GPL')
groups=()
depends=(sdl_net libgl openal libjpeg libpng libvorbis libtheora libmad physfs mesa quesoglc popt ttf-dejavu)
makedepends=(gawk bison flex zip unzip)
conflicts=(warzone2100-dev)
changelog=ChangeLog
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('612306c1b6a9d38b632ea3168b824f5e')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}