summaryrefslogtreecommitdiff
path: root/extra/freeciv
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-09-17 01:42:42 -0700
committerroot <root@rshg054.dnsready.net>2013-09-17 01:42:42 -0700
commita1ec78e8d16098adb2e9e1cf4e364625e74c3bc4 (patch)
treedf5debed7978d781494c73a98f73921edea769cc /extra/freeciv
parentbce247d29e4c6f3b30326d485942cc2d3614430f (diff)
Tue Sep 17 01:42:37 PDT 2013
Diffstat (limited to 'extra/freeciv')
-rw-r--r--extra/freeciv/PKGBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/extra/freeciv/PKGBUILD b/extra/freeciv/PKGBUILD
index 81e27a414..499ce75d9 100644
--- a/extra/freeciv/PKGBUILD
+++ b/extra/freeciv/PKGBUILD
@@ -1,26 +1,28 @@
-# $Id: PKGBUILD 178314 2013-02-20 01:15:54Z eric $
+# $Id: PKGBUILD 194398 2013-09-16 01:46:20Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=freeciv
-pkgver=2.3.4
+pkgver=2.4.0
pkgrel=1
pkgdesc="A multiuser clone of the famous Microprose game of Civilization"
arch=('i686' 'x86_64')
url="http://www.freeciv.org/"
license=('GPL')
-depends=('gtk2' 'sdl_mixer' 'hicolor-icon-theme')
-options=('!libtool')
+depends=('gtk2' 'sdl_mixer' 'hicolor-icon-theme' 'lua51' 'sqlite' 'curl' 'libltdl')
+backup=('etc/freeciv/database.lua')
+options=('!libtool' '!staticlibs')
install=freeciv.install
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('974bbadf86c697bd2d4de7abf12d992fb50f1724')
+sha1sums=('4a3537dc050bd69002794c832b74f5af972da25e')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --enable-client=gtk2 --enable-shared --without-ggz-client
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc --enable-shared --enable-sys-lua \
+ --enable-client=gtk2 --enable-fcdb=sqlite3 --enable-aimodules
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}