summaryrefslogtreecommitdiff
path: root/games/wesnoth/wesnoth.SlackBuild
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-06-12 08:33:10 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-12 22:14:26 -0500
commit2f372f8682bf6d9e7b9666269ab4daf8c58559e1 (patch)
tree2f13475d69b2f228e42dbc2f0cece6c98b7c8e2b /games/wesnoth/wesnoth.SlackBuild
parent2d8e51a2a6511c5c864d28fd4c33750b4c6ac56b (diff)
downloadslackbuilds-2f372f8682bf6d9e7b9666269ab4daf8c58559e1.tar.gz
games/wesnoth: Updated for version 1.8.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/wesnoth/wesnoth.SlackBuild')
-rw-r--r--games/wesnoth/wesnoth.SlackBuild15
1 files changed, 7 insertions, 8 deletions
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