games/wesnoth: Updated for version 1.8.1.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Michiel van Wessem 2010-06-12 08:33:10 -05:00 committed by Robby Workman
parent 2d8e51a2a6
commit 2f372f8682
4 changed files with 16 additions and 21 deletions

View file

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

View file

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

View file

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

View file

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