games/freeciv: Updated for version 2.4.2 + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ryan P.C. McQuen 2014-08-03 12:05:16 +07:00 committed by Willy Sudiarto Raharjo
parent 1c459b1286
commit 7ad6143647
3 changed files with 16 additions and 14 deletions

View File

@ -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 {} \;

View File

@ -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"

View File

@ -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: