summaryrefslogtreecommitdiff
path: root/games/wesnoth
diff options
context:
space:
mode:
Diffstat (limited to 'games/wesnoth')
-rw-r--r--games/wesnoth/README8
-rw-r--r--games/wesnoth/wesnoth-libpng-1.4.0.patch6
-rw-r--r--games/wesnoth/wesnoth.SlackBuild15
-rw-r--r--games/wesnoth/wesnoth.info8
4 files changed, 16 insertions, 21 deletions
diff --git a/games/wesnoth/README b/games/wesnoth/README
index 396e6e07e8..58fd4b3869 100644
--- a/games/wesnoth/README
+++ b/games/wesnoth/README
@@ -6,9 +6,7 @@ It is a turn-based strategy game on a hexgrid with several challenging
single-player campaigns and different kind of multi-player matches.
If you want to compile the wesnothd server and campaign server you can
-run the script as follows:
-
-SERVER=yes ./wesnoth.SlackBuild
+run the script as follows: SERVER=yes ./wesnoth.SlackBuild
please note that the server UID and GID are not required at compile time but
will be required at runtime under the UID/GID specified in the buildscript.
@@ -17,6 +15,4 @@ You can create the user and group for the wesnoth server as follows:
# groupadd -g 229 wesnoth
# useradd -u 229 -d /dev/null -s /bin/false -g wesnoth wesnoth
-Wesnoth requires LUA to compile. A buildscript for lua is available
-at SlackBuilds.org
-
+This requires lua.
diff --git a/games/wesnoth/wesnoth-libpng-1.4.0.patch b/games/wesnoth/wesnoth-libpng-1.4.0.patch
index be8adfcaac..73eb1149ec 100644
--- a/games/wesnoth/wesnoth-libpng-1.4.0.patch
+++ b/games/wesnoth/wesnoth-libpng-1.4.0.patch
@@ -1,6 +1,6 @@
-diff -Nur wesnoth-1.8.orig/src/tools/exploder_utils.cpp wesnoth-1.8/src/tools/exploder_utils.cpp
---- wesnoth-1.8.orig/src/tools/exploder_utils.cpp 2010-01-01 15:16:49.000000000 +0200
-+++ wesnoth-1.8/src/tools/exploder_utils.cpp 2010-04-08 17:38:03.066201123 +0300
+diff -Nur wesnoth-1.8.1.orig/src/tools/exploder_utils.cpp wesnoth-1.8.1/src/tools/exploder_utils.cpp
+--- wesnoth-1.8.1.orig/src/tools/exploder_utils.cpp 2010-01-01 15:16:49.000000000 +0200
++++ wesnoth-1.8.1/src/tools/exploder_utils.cpp 2010-04-08 17:38:03.066201123 +0300
@@ -174,8 +174,8 @@
//TODO: review whether providing NULL error handlers is something
//sensible
diff --git a/games/wesnoth/wesnoth.SlackBuild b/games/wesnoth/wesnoth.SlackBuild
index cf5a9efe00..5c998b4740 100644
--- a/games/wesnoth/wesnoth.SlackBuild
+++ b/games/wesnoth/wesnoth.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# SlackBuilid script for "Battle of Wesnoth".
+# SlackBuild script for "Battle of Wesnoth".
# Copyright 2007-2010 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
@@ -25,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wesnoth
-VERSION=${VERSION:-1.8}
+VERSION=${VERSION:-1.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -88,9 +88,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# generate configure. While wesnoth now supports scons (yuck) and cmake. Neither
-# really works. Until the point that upstreams decide what they want to use, we're
-# going to stick with autotools.
+# Generate configure - while wesnoth now supports scons (yuck) and cmake,
+# neither of them really works. Until the point that upstream decides
+# what they want to use, we're going to stick with autotools.
./autogen.sh
CFLAGS="$SLKCFLAGS" \
@@ -117,11 +117,10 @@ make
make install-strip DESTDIR=$PKG
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
+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 COPYING INSTALL README changelog copyright \
+cp -a COPYING INSTALL README changelog copyright \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/wesnoth/wesnoth.info b/games/wesnoth/wesnoth.info
index da3c1dd210..16fa272a84 100644
--- a/games/wesnoth/wesnoth.info
+++ b/games/wesnoth/wesnoth.info
@@ -1,10 +1,10 @@
PRGNAM="wesnoth"
-VERSION="1.8"
+VERSION="1.8.1"
HOMEPAGE="http://www.wesnoth.org"
-DOWNLOAD="http://downloads.sourceforge.net/wesnoth/wesnoth-1.8.tar.bz2"
-MD5SUM="07e4b97512e307c54dcfd86659a61e41"
+DOWNLOAD="http://downloads.sourceforge.net/wesnoth/wesnoth-1.8.1.tar.bz2"
+MD5SUM="3d008b0eac291c761a1d27d05651f25f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Michiel van Wessem"
EMAIL="michiel@slackbuilds.org"
-APPROVED="dsomero"
+APPROVED="rworkman"