summaryrefslogtreecommitdiff
path: root/games/wesnoth/wesnoth.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2018-08-08 22:26:30 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-11 07:23:08 +0700
commitf5f2355550e08c744473f0fbb97a70c47518fe88 (patch)
tree3d057d52e7eb0a6bd775b7bd563e5e69d1f42492 /games/wesnoth/wesnoth.SlackBuild
parentc6261db623900a26455aaf6a817f28724b5f1dd0 (diff)
downloadslackbuilds-f5f2355550e08c744473f0fbb97a70c47518fe88.tar.gz
games/wesnoth: Updated for version 1.14.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/wesnoth/wesnoth.SlackBuild')
-rw-r--r--games/wesnoth/wesnoth.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/wesnoth/wesnoth.SlackBuild b/games/wesnoth/wesnoth.SlackBuild
index a5d9bc1481..a5b0655b64 100644
--- a/games/wesnoth/wesnoth.SlackBuild
+++ b/games/wesnoth/wesnoth.SlackBuild
@@ -4,6 +4,7 @@
# Copyright 2007-2010 Michiel van Wessem, Manchester, United Kingdom
# Copyright 2010-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2018 Edward W. Koenig, Vancouver, WA, USA
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -26,7 +27,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wesnoth
-VERSION=${VERSION:-1.12.6}
+VERSION=${VERSION:-1.14.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,9 +73,6 @@ cd $TMP
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
-# This patch should be enabled when you used GCC 4.7.0 or above
-patch -p0 < $CWD/terrain_translation.patch
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -94,7 +92,7 @@ scons \
icondir=/usr/share/icons \
desktopdir=/usr/share/applications \
$OPT_SERVER \
- wesnoth exploder cutter wesnothd campaignd
+ wesnoth wesnothd campaignd
scons install destdir=$PKG
@@ -102,7 +100,7 @@ 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 COPYING INSTALL changelog copyright $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING INSTALL.md changelog.md README.md copyright $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir $PKG/install