summaryrefslogtreecommitdiffstats
path: root/games/wesnoth/wesnoth.SlackBuild
diff options
context:
space:
mode:
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