summaryrefslogtreecommitdiff
path: root/games/freeciv/freeciv.SlackBuild
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/freeciv.SlackBuild
parent7901b22b275a76ec3e29ad0f01222c86a2b56e05 (diff)
downloadslackbuilds-45a0d948a42ad01c2614b483b0cdda22c32d2676.tar.gz
games/freeciv: Updated for version 2.1.9
Diffstat (limited to 'games/freeciv/freeciv.SlackBuild')
-rw-r--r--games/freeciv/freeciv.SlackBuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/games/freeciv/freeciv.SlackBuild b/games/freeciv/freeciv.SlackBuild
index f7830355df..c81691ccbd 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