desktop/warzone2100/PKGBUILD

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.7
pkgrel=2
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=('67c2bb506fc59336eb830ff50303745d')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}