summaryrefslogtreecommitdiff
path: root/games
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
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')
-rw-r--r--games/sauerbraten/makefile_libx11_fix.patch11
-rw-r--r--games/sauerbraten/sauerbraten.SlackBuild14
-rw-r--r--games/sauerbraten/sauerbraten.desktop2
-rw-r--r--games/sauerbraten/sauerbraten.info6
4 files changed, 11 insertions, 22 deletions
diff --git a/games/sauerbraten/makefile_libx11_fix.patch b/games/sauerbraten/makefile_libx11_fix.patch
deleted file mode 100644
index feee765de3..0000000000
--- a/games/sauerbraten/makefile_libx11_fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.old 2010-05-13 11:30:28.000000000 -0700
-+++ Makefile 2012-08-03 18:46:55.010000000 -0700
-@@ -21,7 +21,7 @@
- CLIENT_LIBS= -mwindows -Llib -lSDL -lSDL_image -lSDL_mixer -lzdll -lopengl32 -lenet -lws2_32 -lwinmm
- else
- CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags`
--CLIENT_LIBS= -Lenet/.libs -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
-+CLIENT_LIBS= -Lenet/.libs -lenet -lX11 `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
- endif
- ifeq ($(PLATFORM),Linux)
- CLIENT_LIBS+= -lrt
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/*
diff --git a/games/sauerbraten/sauerbraten.desktop b/games/sauerbraten/sauerbraten.desktop
index a84e83b931..92fbde918c 100644
--- a/games/sauerbraten/sauerbraten.desktop
+++ b/games/sauerbraten/sauerbraten.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=Sauerbraten Client
-Comment=A networked, fast-paced 3D first-person shooter
+Comment=A networked, fast-paced 3D first-person shooter game
Comment[de]=Ein schnelles netzwerkfähiges 3D Ego-Shooter Spiel
Exec=sauerbraten
Icon=sauerbraten
diff --git a/games/sauerbraten/sauerbraten.info b/games/sauerbraten/sauerbraten.info
index d4366586db..e88da861e2 100644
--- a/games/sauerbraten/sauerbraten.info
+++ b/games/sauerbraten/sauerbraten.info
@@ -1,8 +1,8 @@
PRGNAM="sauerbraten"
-VERSION="2010_07_28"
+VERSION="2013_02_03"
HOMEPAGE="http://www.sauerbraten.org/"
-DOWNLOAD="http://downloads.sourceforge.net/sauerbraten/sauerbraten_2010_07_28_justice_edition_linux.tar.bz2"
-MD5SUM="0947cb37b628873063270be1fcce27f6"
+DOWNLOAD="http://downloads.sourceforge.net/sauerbraten/sauerbraten_2013_02_03_collect_edition_linux.tar.bz2"
+MD5SUM="2cfbd619981402898f97b93be08d58ac"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""