mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
games/sauerbraten: Updated for version 2013_02_03.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
0097f09113
commit
6fc5ecd501
4 changed files with 11 additions and 22 deletions
|
@ -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
|
|
@ -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/*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue