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