summaryrefslogtreecommitdiff
path: root/community-testing/warzone2100/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-10 00:43:13 -0700
committerroot <root@rshg054.dnsready.net>2012-10-10 00:43:13 -0700
commit769ba4645df3c2f793bc2d3ee245573b79b206d3 (patch)
tree13e34d51217ced7053937eb57c7e12664fd881b5 /community-testing/warzone2100/PKGBUILD
parent26bcb2409416374f6728bd9b863e4fd147adccb3 (diff)
Wed Oct 10 00:43:09 PDT 2012
Diffstat (limited to 'community-testing/warzone2100/PKGBUILD')
-rw-r--r--community-testing/warzone2100/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community-testing/warzone2100/PKGBUILD b/community-testing/warzone2100/PKGBUILD
new file mode 100644
index 000000000..0fbaa7e37
--- /dev/null
+++ b/community-testing/warzone2100/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 77388 2012-10-09 14:04:20Z lcarlier $
+# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
+# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
+
+pkgname=warzone2100
+pkgver=2.3.9
+pkgrel=3
+pkgdesc="3D realtime strategy game on a future Earth"
+url="http://wz2100.net/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('sdl' 'openal' 'libpng' 'libvorbis' 'libtheora' 'physfs' 'quesoglc' 'popt' 'ttf-dejavu')
+makedepends=('gawk' 'bison' 'flex' 'zip' 'unzip' 'asciidoc')
+source=(#"http://downloads.sourceforge.net/project/warzone2100/releases/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ "http://downloads.sourceforge.net/project/warzone2100/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('7185090a089c9c0e0eca7535a8f25dca')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr --with-distributor="Arch linux"
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+}