aboutsummaryrefslogtreecommitdiff
path: root/games/freeciv
diff options
context:
space:
mode:
authorIskar Enev <iskar.enev[@]gmail.com>2010-05-12 17:39:16 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:39:16 +0200
commit45a0d948a42ad01c2614b483b0cdda22c32d2676 (patch)
treed799e10ced0e4a27d1e1b83f862dba1d94765d92 /games/freeciv
parent7901b22b275a76ec3e29ad0f01222c86a2b56e05 (diff)
games/freeciv: Updated for version 2.1.9
Diffstat (limited to 'games/freeciv')
-rw-r--r--games/freeciv/freeciv.SlackBuild15
-rw-r--r--games/freeciv/freeciv.info8
2 files changed, 13 insertions, 10 deletions
diff --git a/games/freeciv/freeciv.SlackBuild b/games/freeciv/freeciv.SlackBuild
index f7830355df47e..c81691ccbd087 100644
--- a/games/freeciv/freeciv.SlackBuild
+++ b/games/freeciv/freeciv.SlackBuild
@@ -1,12 +1,10 @@
#!/bin/sh
-
# Slackware build script for freeciv
# Written by Iskar Enev <iskar.enev[@]gmail.com>
-
# Modified by SlackBuilds.org
PRGNAM=freeciv
-VERSION=2.1.6
+VERSION=2.1.9
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,7 +33,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -45,8 +47,9 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--without-ggz-client \
- --enable-client=yes
-
+ --enable-client=yes \
+ --build=$ARCH-slackware-linux
+
make
make install DESTDIR=$PKG
diff --git a/games/freeciv/freeciv.info b/games/freeciv/freeciv.info
index 2e5e2552df37d..587a0c290ebeb 100644
--- a/games/freeciv/freeciv.info
+++ b/games/freeciv/freeciv.info
@@ -1,8 +1,8 @@
PRGNAM="freeciv"
-VERSION="2.1.6"
+VERSION="2.1.9"
HOMEPAGE="http://www.freeciv.org"
-DOWNLOAD="http://downloads.sourceforge.net/freeciv/freeciv-2.1.6.tar.bz2"
-MD5SUM="377a44273cdd0c2cab4e1c0a457fc7c7"
+DOWNLOAD="http://downloads.sourceforge.net/freeciv/freeciv-2.1.9.tar.bz2"
+MD5SUM="caffaa201b2f5dfdfe00b6e6c3f32fb1"
MAINTAINER="Iskar Enev"
EMAIL="<iskar.enev[@]gmail.com>"
-APPROVED="David Somero" \ No newline at end of file
+APPROVED="dsomero"