summaryrefslogtreecommitdiff
path: root/games/sauerbraten/sauerbraten.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf[at]gmail[dot]com>2013-06-29 11:00:20 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-29 11:00:20 -0300
commit6fc5ecd50139dc4699424a49aa0c91be314117e6 (patch)
tree83f7f137c734c587fbf0121032bfe3469ab5e2a2 /games/sauerbraten/sauerbraten.SlackBuild
parent0097f091136fee78c00ca532a043fe4cf1ff7326 (diff)
downloadslackbuilds-6fc5ecd50139dc4699424a49aa0c91be314117e6.tar.gz
games/sauerbraten: Updated for version 2013_02_03.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games/sauerbraten/sauerbraten.SlackBuild')
-rw-r--r--games/sauerbraten/sauerbraten.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/sauerbraten/sauerbraten.SlackBuild b/games/sauerbraten/sauerbraten.SlackBuild
index ab5a2f9a9e..0eda3e4adb 100644
--- a/games/sauerbraten/sauerbraten.SlackBuild
+++ b/games/sauerbraten/sauerbraten.SlackBuild
@@ -7,14 +7,17 @@
#
# Changelog
#---------------------------------------------------------------------------------------
-# 1.0 26DEC2011 New SBo maintainer: Edward Koenig <kingbeowulf[at]gmail[dot]com>
+# 1.0 26-DEC-2011 New SBo maintainer: Edward Koenig <kingbeowulf[at]gmail[dot]com>
+# 2.0 23-JUN-2013 new version, script clean up.
#
PRGNAM=sauerbraten
-VERSION=${VERSION:-2010_07_28}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2013_02_03}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+EDITION=${EDITION:-collect_edition}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -44,7 +47,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
-tar xvf $CWD/${PRGNAM}_${VERSION}_justice_edition_linux.tar.bz2
+tar xvf $CWD/${PRGNAM}_${VERSION}_${EDITION}_linux.tar.bz2
cd $PRGNAM
chown -R root:root .
find . \
@@ -53,9 +56,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix for lost libX11.so.6
-patch -p0 -d src < $CWD/makefile_libx11_fix.patch
-
# Use custom SLKCFLAGS and remove precompiled executables.
cp bin_unix/readme.txt .
rm -f bin_unix/*