diff options
Diffstat (limited to 'games/freeciv/freeciv.SlackBuild')
-rw-r--r-- | games/freeciv/freeciv.SlackBuild | 15 |
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 |