2011-01-24 06:06:12 +08:00
|
|
|
pkgname=warzone2100
|
2016-07-30 21:14:50 +08:00
|
|
|
pkgver=3.2.1
|
2014-12-30 20:16:56 +08:00
|
|
|
pkgrel=1
|
2011-01-24 06:06:12 +08:00
|
|
|
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')
|
2011-01-24 06:06:12 +08:00
|
|
|
url="http://wz2100.net/"
|
|
|
|
license=('GPL')
|
|
|
|
groups=()
|
2012-03-07 19:00:46 +08:00
|
|
|
categories=('games')
|
2016-07-30 21:14:50 +08:00
|
|
|
depends=('libgl' 'openal' 'libjpeg' 'libpng' 'libvorbis' 'libtheora' 'libmad'
|
|
|
|
'physfs' 'mesa' 'quesoglc' 'popt' 'ttf-dejavu' 'qt5-base' 'qt5-script'
|
|
|
|
'qt5-x11extras' 'glew' 'sdl2')
|
|
|
|
makedepends=('gawk' 'bison' 'flex' 'zip' 'unzip' 'libxrandr' 'asciidoc')
|
2014-07-16 01:28:45 +08:00
|
|
|
conflicts=('warzone2100-dev')
|
2016-04-05 11:19:08 +08:00
|
|
|
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
2016-07-30 21:14:50 +08:00
|
|
|
sha256sums=('0f66b76c50c598abcc895134bd49aab5dd46dcf8135645f2505e93077402a6d9')
|
2011-01-24 06:06:12 +08:00
|
|
|
|
|
|
|
build() {
|
2014-07-16 01:28:45 +08:00
|
|
|
cd ${pkgname}-${pkgver}
|
2011-11-13 01:39:34 +08:00
|
|
|
./configure \
|
2016-07-30 21:14:50 +08:00
|
|
|
--prefix=/usr \
|
|
|
|
--with-backend=qt \
|
|
|
|
--with-distributor="Chakra GNU/Linux"
|
2011-01-24 06:06:12 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-07-16 01:28:45 +08:00
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
2011-01-24 06:06:12 +08:00
|
|
|
}
|