[arch-commits] Commit in freeciv/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Tue Aug 18 03:13:25 UTC 2015
Date: Tuesday, August 18, 2015 @ 05:13:24
Author: eric
Revision: 243846
upgpkg: freeciv 2.5.1-1
Upstream update, Switch to gtk3 client (close FS#45520)
Modified:
freeciv/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-18 03:12:44 UTC (rev 243845)
+++ PKGBUILD 2015-08-18 03:13:24 UTC (rev 243846)
@@ -2,30 +2,29 @@
# Maintainer: Eric Bélanger <eric at archlinux.org>
pkgname=freeciv
-pkgver=2.5.0
-pkgrel=2
+pkgver=2.5.1
+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' 'lua52' 'sqlite' 'curl' 'libltdl')
+depends=('gtk3' 'sdl_mixer' 'lua52' 'sqlite' 'curl' 'libtool')
backup=('etc/freeciv/database.lua')
install=freeciv.install
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2
lua52_compat.patch)
-sha1sums=('477b60e02606e47b31a019b065353c1a6da6c305'
+sha1sums=('bd4426dcae7511549733441b1b2f5a8bd77cf42b'
'248f4c8b62557677bf27a0d06feb15148d811ce7')
prepare() {
cd ${pkgname}-${pkgver}
- patch -p1 < "$srcdir"/lua52_compat.patch
- ./autogen.sh
+ patch -p1 -i "$srcdir"/lua52_compat.patch
}
build() {
cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc --enable-shared --enable-sys-lua \
- --enable-client=gtk2 --enable-fcdb=sqlite3 --enable-aimodules
+ ./autogen.sh --prefix=/usr --sysconfdir=/etc --enable-shared --enable-sys-lua \
+ --enable-client=gtk3 --enable-fcmp=gtk3 --enable-fcdb=sqlite3 --enable-aimodules
make
}
More information about the arch-commits
mailing list