summaryrefslogtreecommitdiff
path: root/games/supertuxkart
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-08-07 09:44:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-07 09:44:25 +0700
commit295ae40e04df2fc78d1796475fe48fe2c9c6e4fa (patch)
tree5c858c5bbd73bc73361639e4da66a0bdca71f2b2 /games/supertuxkart
parent48e1bd52de8f7079ba898420a3e3344cafeaabcb (diff)
downloadslackbuilds-295ae40e04df2fc78d1796475fe48fe2c9c6e4fa.tar.gz
games/supertuxkart: Updated for version 0.8.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/supertuxkart')
-rw-r--r--games/supertuxkart/supertuxkart.SlackBuild21
-rw-r--r--games/supertuxkart/supertuxkart.info10
-rw-r--r--games/supertuxkart/translations.patch15
3 files changed, 13 insertions, 33 deletions
diff --git a/games/supertuxkart/supertuxkart.SlackBuild b/games/supertuxkart/supertuxkart.SlackBuild
index f917067912..be7421a2ae 100644
--- a/games/supertuxkart/supertuxkart.SlackBuild
+++ b/games/supertuxkart/supertuxkart.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for supertuxkart
+# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
+
# Copyright 2009-2011 Larry Hajali <larryhaja[at]gmail[dot]com>
# Copyright 2011-2013 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
@@ -23,10 +25,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# revision date: 2013/03/28
-
PRGNAM=supertuxkart
-VERSION=${VERSION:-0.8}
+VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,15 +69,10 @@ tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2
cd $UNTARRED-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# The Makefile's don't respect directory variables given to configure.
-# Let's fix that with a few other additional cleanups.
-patch -p1 < $CWD/translations.patch
-sed -i 's|\/games|\/bin|g' data/${PRGNAM}_desktop.template
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# First build the Irrlicht (static) library.
# Note: This is a forked, modfied copy of irrlicht-1.8
@@ -102,7 +97,7 @@ cd build
make install DESTDIR=$PKG
cd ..
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/man/man6
diff --git a/games/supertuxkart/supertuxkart.info b/games/supertuxkart/supertuxkart.info
index c7000bb958..c4bc078ded 100644
--- a/games/supertuxkart/supertuxkart.info
+++ b/games/supertuxkart/supertuxkart.info
@@ -1,10 +1,10 @@
PRGNAM="supertuxkart"
-VERSION="0.8"
+VERSION="0.8.1"
HOMEPAGE="http://supertuxkart.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/supertuxkart/supertuxkart-0.8-src.tar.bz2"
-MD5SUM="0b939ce601374758938119e0b0dd1fec"
+DOWNLOAD="http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/0.8.1/supertuxkart-0.8.1-src.tar.bz2"
+MD5SUM="aa31ecf883dc35859eec76c667f1a6d6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="OpenAL"
-MAINTAINER="Niels Horn"
-EMAIL="niels.horn@gmail.com"
+MAINTAINER="Ryan P.C. McQuen"
+EMAIL="ryan.q@linux.com"
diff --git a/games/supertuxkart/translations.patch b/games/supertuxkart/translations.patch
deleted file mode 100644
index f4c55e981e..0000000000
--- a/games/supertuxkart/translations.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- supertuxkart-0.7.3/src/io/file_manager.cpp 2011-11-01 22:04:13.000000000 -0200
-+++ supertuxkart-0.7.3_patched/src/io/file_manager.cpp 2011-12-09 16:54:27.000000000 -0200
-@@ -442,7 +442,12 @@
- */
- std::string FileManager::getTranslationDir() const
- {
-+#if !defined(TRANSLATION_DIR) && !defined(__APPLE__) && !defined(WIN32)
-+#define TRANSLATION_DIR "/usr/share/locale"
-+ return TRANSLATION_DIR;
-+#else
- return m_root_dir+"/data/po";
-+#endif
- } // getTranslationDir
-
- //-----------------------------------------------------------------------------