summaryrefslogtreecommitdiff
path: root/community/warzone2100/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/warzone2100/PKGBUILD')
-rw-r--r--community/warzone2100/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/warzone2100/PKGBUILD b/community/warzone2100/PKGBUILD
new file mode 100644
index 000000000..b9958a37a
--- /dev/null
+++ b/community/warzone2100/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 94912 2013-08-01 06:55:47Z bpiotrowski $
+# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
+# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
+
+pkgname=warzone2100
+pkgver=3.1.0
+pkgrel=4
+pkgdesc="3D realtime strategy game on a future Earth"
+url="http://wz2100.net/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('sdl' 'glew' 'fribidi' 'openal' 'libvorbis' 'libtheora' 'physfs' 'ttf-dejavu' 'qt4')
+makedepends=('gawk' 'flex' 'zip' 'unzip' 'asciidoc' 'mesa')
+source=("http://downloads.sourceforge.net/project/warzone2100/releases/${pkgver}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('7f061f3e5a2a6a83c146508ccefabd86')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr --with-distributor="Arch linux"
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+}