desktop/warzone2100/PKGBUILD
2014-12-30 12:16:56 +00:00

42 lines
1.1 KiB
Bash

#
# Games Packages for Chakra, part of chakraos.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=warzone2100
pkgver=3.1.2
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"
"buildfix.patch")
sha256sums=('e33b0c89b981acda4ca2b473e105510caaecd0a0c6648ae22262f4b561566f1b'
'85e158cd81f836b2bc264dfe39f0cc3504be5d94c4ebf321496594f841164595')
prepare() {
cd ${pkgname}-${pkgver}
patch -p1 -i ../buildfix.patch
}
build() {
cd ${pkgname}-${pkgver}
./configure \
--prefix=/usr
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}