summaryrefslogtreecommitdiff
path: root/games/freeciv
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-08-03 12:05:16 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-03 12:05:16 +0700
commit7ad61436478f0a6c7b1114df1ed92fb972f5f7fa (patch)
tree9ebf804d4d6be87fb0480d43883cad8e1a68ab5e /games/freeciv
parent1c459b1286b06583c624666265ad33075b6edf84 (diff)
downloadslackbuilds-7ad61436478f0a6c7b1114df1ed92fb972f5f7fa.tar.gz
games/freeciv: Updated for version 2.4.2 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/freeciv')
-rw-r--r--games/freeciv/freeciv.SlackBuild18
-rw-r--r--games/freeciv/freeciv.info10
-rw-r--r--games/freeciv/slack-desc2
3 files changed, 16 insertions, 14 deletions
diff --git a/games/freeciv/freeciv.SlackBuild b/games/freeciv/freeciv.SlackBuild
index 23be2f024f..93d4f421fe 100644
--- a/games/freeciv/freeciv.SlackBuild
+++ b/games/freeciv/freeciv.SlackBuild
@@ -1,6 +1,8 @@
#!/bin/sh
# Slackware build script for freeciv
+# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
+
# Original version written by Iskar Enev <iskar.enev[@]gmail.com>
# Copyright 2010-2013 Niels Horn, Rio de Janeiro, RJ, Brazil
@@ -23,10 +25,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Revision date: 2013/03/24
-
PRGNAM=freeciv
-VERSION=${VERSION:-2.3.4}
+VERSION=${VERSION:-2.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,10 +67,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,12 +82,14 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--without-ggz-client \
--enable-client=gtk \
+ --enable-static=no \
+ --enable-shared=yes \
--build=$ARCH-slackware-linux
make V=1
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
diff --git a/games/freeciv/freeciv.info b/games/freeciv/freeciv.info
index 4c1cc593d8..7259138566 100644
--- a/games/freeciv/freeciv.info
+++ b/games/freeciv/freeciv.info
@@ -1,10 +1,10 @@
PRGNAM="freeciv"
-VERSION="2.3.4"
+VERSION="2.4.2"
HOMEPAGE="http://www.freeciv.org"
-DOWNLOAD="http://downloads.sourceforge.net/freeciv/freeciv-2.3.4.tar.bz2"
-MD5SUM="2a49c417ffedd54cf648adf1ddf707a9"
+DOWNLOAD="http://prdownloads.sourceforge.net/freeciv/freeciv-2.4.2.tar.bz2"
+MD5SUM="4bf03bbe7084d3e23739f1e5b2ccc529"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Niels Horn"
-EMAIL="niels.horn@gmail.com"
+MAINTAINER="Ryan P.C. McQuen"
+EMAIL="ryan.q@linux.com"
diff --git a/games/freeciv/slack-desc b/games/freeciv/slack-desc
index bdf126eee4..c85fe7b3f7 100644
--- a/games/freeciv/slack-desc
+++ b/games/freeciv/slack-desc
@@ -13,7 +13,7 @@ freeciv: each player becomes the leader of a civilization, fighting to
freeciv: obtain the ultimate goal: To become the greatest civilization.
freeciv:
freeciv:
-freeciv: Homepage: http://freeciv.wikia.com/
+freeciv: http://freeciv.wikia.com/
freeciv:
freeciv:
freeciv: