desktop/warzone2100/PKGBUILD

42 lines
1.1 KiB
Bash
Raw Normal View History

#
2014-07-16 01:28:45 +08:00
# Games Packages for Chakra, part of chakraos.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=warzone2100
2014-12-30 20:16:56 +08:00
pkgver=3.1.2
pkgrel=1
pkgdesc="3D real-time strategy game where you fight to rebuilt the world destroyed by nuclear war."
2014-07-16 01:28:45 +08:00
arch=('x86_64')
url="http://wz2100.net/"
license=('GPL')
groups=()
2012-03-07 19:00:46 +08:00
categories=('games')
2014-07-16 01:28:45 +08:00
depends=('sdl_net' 'libgl' 'openal' 'libjpeg' 'libpng' 'libvorbis' 'libtheora'
2014-09-11 00:11:55 +08:00
'libmad' 'physfs' 'mesa' 'quesoglc' 'popt' 'ttf-dejavu' 'qt' 'glew'
'harfbuzz')
2014-07-16 01:28:45 +08:00
makedepends=('gawk' 'bison' 'flex' 'zip' 'unzip')
conflicts=('warzone2100-dev')
changelog=ChangeLog
2014-09-11 00:11:55 +08:00
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz"
"buildfix.patch")
2014-12-30 20:16:56 +08:00
sha256sums=('e33b0c89b981acda4ca2b473e105510caaecd0a0c6648ae22262f4b561566f1b'
2014-09-11 00:11:55 +08:00
'85e158cd81f836b2bc264dfe39f0cc3504be5d94c4ebf321496594f841164595')
prepare() {
cd ${pkgname}-${pkgver}
patch -p1 -i ../buildfix.patch
}
build() {
2014-07-16 01:28:45 +08:00
cd ${pkgname}-${pkgver}
2011-11-13 01:39:34 +08:00
./configure \
--prefix=/usr
make
}
package() {
2014-07-16 01:28:45 +08:00
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}