[arch-commits] Commit in freeciv/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Mon Sep 16 01:45:44 UTC 2013


    Date: Monday, September 16, 2013 @ 03:45:44
  Author: eric
Revision: 194397

upgpkg: freeciv 2.4.0-1

Upstream update, Switch to system lua, Add db and aimodules support to server, Remove static libraries

Modified:
  freeciv/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-09-15 21:07:04 UTC (rev 194396)
+++ PKGBUILD	2013-09-16 01:45:44 UTC (rev 194397)
@@ -2,25 +2,27 @@
 # Maintainer: Eric Bélanger <eric at 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
 }




More information about the arch-commits mailing list