[arch-commits] Commit in freeciv/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 7 18:04:39 UTC 2016


    Date: Monday, November 7, 2016 @ 18:04:38
  Author: foutrelis
Revision: 280068

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  freeciv/repos/staging-i686/
  freeciv/repos/staging-i686/PKGBUILD
    (from rev 280067, freeciv/trunk/PKGBUILD)
  freeciv/repos/staging-i686/lua52_compat.patch
    (from rev 280067, freeciv/trunk/lua52_compat.patch)
  freeciv/repos/staging-x86_64/
  freeciv/repos/staging-x86_64/PKGBUILD
    (from rev 280067, freeciv/trunk/PKGBUILD)
  freeciv/repos/staging-x86_64/lua52_compat.patch
    (from rev 280067, freeciv/trunk/lua52_compat.patch)

-----------------------------------+
 staging-i686/PKGBUILD             |   35 +++++++++++++++++++++++++++++++++++
 staging-i686/lua52_compat.patch   |   13 +++++++++++++
 staging-x86_64/PKGBUILD           |   35 +++++++++++++++++++++++++++++++++++
 staging-x86_64/lua52_compat.patch |   13 +++++++++++++
 4 files changed, 96 insertions(+)

Copied: freeciv/repos/staging-i686/PKGBUILD (from rev 280067, freeciv/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-11-07 18:04:38 UTC (rev 280068)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=freeciv
+pkgver=2.5.5
+pkgrel=2
+pkgdesc="A multiuser clone of the famous Microprose game of Civilization"
+arch=('i686' 'x86_64')
+url="http://www.freeciv.org/"
+license=('GPL')
+depends=('gtk3' 'sdl_mixer' 'lua52' 'sqlite' 'curl' 'libtool')
+makedepends=('python')
+backup=('etc/freeciv/database.lua')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+        lua52_compat.patch)
+sha1sums=('c2772f753812c09572fc94689ea8dc1e3df79bf1'
+          '248f4c8b62557677bf27a0d06feb15148d811ce7')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "$srcdir"/lua52_compat.patch
+  autoreconf -vi
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc --enable-shared --enable-sys-lua \
+    --enable-client=gtk3 --enable-fcmp=gtk3 --enable-fcdb=sqlite3 --enable-aimodules
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: freeciv/repos/staging-i686/lua52_compat.patch (from rev 280067, freeciv/trunk/lua52_compat.patch)
===================================================================
--- staging-i686/lua52_compat.patch	                        (rev 0)
+++ staging-i686/lua52_compat.patch	2016-11-07 18:04:38 UTC (rev 280068)
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 5cfc1d1..1c66051 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1263,7 +1263,7 @@ esac], [sys_lua=false])
+ dnl There's wide divergence on what the pkg-config file for Lua is called
+ dnl See http://lua-users.org/lists/lua-l/2008-09/msg00184.html
+ if test "x$sys_lua" = "xtrue" || test "x$sys_lua" = "xtest" ; then
+-  PKG_CHECK_MODULES([LUA], [lua5.2], [sys_lua=true],
++  PKG_CHECK_MODULES([LUA], [lua52], [sys_lua=true],
+     [PKG_CHECK_MODULES([LUA], [lua-5.2], [sys_lua=true],
+       [PKG_CHECK_MODULES([LUA], [lua >= 5.2 lua < 5.3], [sys_lua=true],
+ [if test "x$sys_lua" = "xtrue" ; then

Copied: freeciv/repos/staging-x86_64/PKGBUILD (from rev 280067, freeciv/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-11-07 18:04:38 UTC (rev 280068)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=freeciv
+pkgver=2.5.5
+pkgrel=2
+pkgdesc="A multiuser clone of the famous Microprose game of Civilization"
+arch=('i686' 'x86_64')
+url="http://www.freeciv.org/"
+license=('GPL')
+depends=('gtk3' 'sdl_mixer' 'lua52' 'sqlite' 'curl' 'libtool')
+makedepends=('python')
+backup=('etc/freeciv/database.lua')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+        lua52_compat.patch)
+sha1sums=('c2772f753812c09572fc94689ea8dc1e3df79bf1'
+          '248f4c8b62557677bf27a0d06feb15148d811ce7')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i "$srcdir"/lua52_compat.patch
+  autoreconf -vi
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc --enable-shared --enable-sys-lua \
+    --enable-client=gtk3 --enable-fcmp=gtk3 --enable-fcdb=sqlite3 --enable-aimodules
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: freeciv/repos/staging-x86_64/lua52_compat.patch (from rev 280067, freeciv/trunk/lua52_compat.patch)
===================================================================
--- staging-x86_64/lua52_compat.patch	                        (rev 0)
+++ staging-x86_64/lua52_compat.patch	2016-11-07 18:04:38 UTC (rev 280068)
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 5cfc1d1..1c66051 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1263,7 +1263,7 @@ esac], [sys_lua=false])
+ dnl There's wide divergence on what the pkg-config file for Lua is called
+ dnl See http://lua-users.org/lists/lua-l/2008-09/msg00184.html
+ if test "x$sys_lua" = "xtrue" || test "x$sys_lua" = "xtest" ; then
+-  PKG_CHECK_MODULES([LUA], [lua5.2], [sys_lua=true],
++  PKG_CHECK_MODULES([LUA], [lua52], [sys_lua=true],
+     [PKG_CHECK_MODULES([LUA], [lua-5.2], [sys_lua=true],
+       [PKG_CHECK_MODULES([LUA], [lua >= 5.2 lua < 5.3], [sys_lua=true],
+ [if test "x$sys_lua" = "xtrue" ; then



More information about the arch-commits mailing list