desktop/warzone2100/PKGBUILD
2016-04-11 11:37:18 +01:00

30 lines
836 B
Bash

pkgname=warzone2100
pkgver=3.1.5
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=('21aacc3e475d17338cf7a57aefe4517868822a8167fb6c291f6f6f3b454ca442')
build() {
cd ${pkgname}-${pkgver}
./configure \
--prefix=/usr
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}