desktop/warzone2100/PKGBUILD

31 lines
914 B
Bash
Raw Normal View History

pkgname=warzone2100
pkgver=3.2.1
2014-12-30 20:16:56 +08:00
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')
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")
sha256sums=('0f66b76c50c598abcc895134bd49aab5dd46dcf8135645f2505e93077402a6d9')
build() {
2014-07-16 01:28:45 +08:00
cd ${pkgname}-${pkgver}
2011-11-13 01:39:34 +08:00
./configure \
--prefix=/usr \
--with-backend=qt \
--with-distributor="Chakra GNU/Linux"
make
}
package() {
2014-07-16 01:28:45 +08:00
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}