desktop/warzone2100/PKGBUILD
2016-04-05 04:19:08 +01:00

30 lines
836 B
Bash

pkgname=warzone2100
pkgver=3.1.4
pkgrel=1
pkgdesc="3D real-time strategy game where you fight to rebuilt the world destroyed by nuclear war."
arch=('x86_64')
url="http://wz2100.net/"
license=('GPL')
groups=()
categories=('games')
depends=('sdl_net' 'libgl' 'openal' 'libjpeg' 'libpng' 'libvorbis' 'libtheora'
'libmad' 'physfs' 'mesa' 'quesoglc' 'popt' 'ttf-dejavu' 'qt' 'glew'
'harfbuzz')
makedepends=('gawk' 'bison' 'flex' 'zip' 'unzip')
conflicts=('warzone2100-dev')
changelog=ChangeLog
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('89f681bc809810cee3deed92fdee3712cbb8f0eb9be971ae8a50b8dfbc6df4f7')
build() {
cd ${pkgname}-${pkgver}
./configure \
--prefix=/usr
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}