summaryrefslogtreecommitdiffstats
path: root/games/freeciv
diff options
context:
space:
mode:
Diffstat (limited to 'games/freeciv')
-rw-r--r--games/freeciv/freeciv.SlackBuild13
-rw-r--r--games/freeciv/freeciv.info6
2 files changed, 10 insertions, 9 deletions
diff --git a/games/freeciv/freeciv.SlackBuild b/games/freeciv/freeciv.SlackBuild
index 2126c2d3e7..30d0c9da5e 100644
--- a/games/freeciv/freeciv.SlackBuild
+++ b/games/freeciv/freeciv.SlackBuild
@@ -30,8 +30,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=freeciv
-VERSION=${VERSION:-3.0.2}
-SRCVERSION=${SRCVERSION:-3.0.2}
+VERSION=${VERSION:-3.1.1}
+SRCVERSION=${SRCVERSION:-3.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -62,6 +62,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -90,6 +93,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION/ \
--without-ggz-client \
--enable-client=gtk3 \
--enable-static=no \
@@ -106,12 +110,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README doc/ \
- $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/man
+rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/man $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL*
find $PKG/usr/doc/$PRGNAM-$VERSION -name "Makefile*" -type f -exec rm {} \;
rm -f $PKG/usr/lib*/*.la
diff --git a/games/freeciv/freeciv.info b/games/freeciv/freeciv.info
index acb0ebf23d..18fd0b06ba 100644
--- a/games/freeciv/freeciv.info
+++ b/games/freeciv/freeciv.info
@@ -1,8 +1,8 @@
PRGNAM="freeciv"
-VERSION="3.0.2"
+VERSION="3.1.1"
HOMEPAGE="http://www.freeciv.org"
-DOWNLOAD="http://files.freeciv.org/stable/freeciv-3.0.2.tar.xz"
-MD5SUM="fbbeeb0740a513b74677e035a0ba507e"
+DOWNLOAD="http://files.freeciv.org/stable/freeciv-3.1.1.tar.xz"
+MD5SUM="84cc920acf453fafad95ea16fa46a924"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""