aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2011-12-17 11:03:56 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-18 00:05:10 -0200
commitb8d5e5893d8d9726086fe18a4ecf2d4b033d5e0c (patch)
tree4d2037450aa44a810fa955cd0275815f3e511084
parent8fe021c63ed10a4e145fe5f74c12c160f7b58622 (diff)
games/supertuxkart: Updated for version 0.7.3, new maintainer.
This now includes an add-ons system, so extra-karts and extra-tracks are no-longer necessary. Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-rw-r--r--games/supertuxkart/README12
-rw-r--r--games/supertuxkart/doinst.sh1
-rw-r--r--games/supertuxkart/slack-desc14
-rw-r--r--games/supertuxkart/supertuxkart.SlackBuild27
-rw-r--r--games/supertuxkart/supertuxkart.info12
-rw-r--r--games/supertuxkart/translations.patch9
6 files changed, 46 insertions, 29 deletions
diff --git a/games/supertuxkart/README b/games/supertuxkart/README
index 46835844158e2..15713d2ed69b3 100644
--- a/games/supertuxkart/README
+++ b/games/supertuxkart/README
@@ -1,9 +1,7 @@
-SuperTuxKart is a Free 3d kart racing game; we want to make
-the game fun more than we want to make it realistic. You can
-play with up to 4 friends on one PC, racing against each
-other or just try to beat the computer. (a network multiplayer
-feature is under development).
+SuperTuxKart is a Free 3d kart racing game; we want to make the game fun
+more than we want to make it realistic. You can play with up to 4 friends
+on one PC, racing against each other or just try to beat the computer.
-SuperTuxKart requires plib and OpenAL.
+Extra karts and tracks can be downloaded from within the game.
-Optional: supertuxkart-extra-karts and supertuxkart-extra-tracks.
+SuperTuxKart requires OpenAL and irrlicht.
diff --git a/games/supertuxkart/doinst.sh b/games/supertuxkart/doinst.sh
index 4e8ba7071dea7..5fb28930db0b9 100644
--- a/games/supertuxkart/doinst.sh
+++ b/games/supertuxkart/doinst.sh
@@ -1,4 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-
diff --git a/games/supertuxkart/slack-desc b/games/supertuxkart/slack-desc
index 29c0241349952..371b02fff77f0 100644
--- a/games/supertuxkart/slack-desc
+++ b/games/supertuxkart/slack-desc
@@ -7,13 +7,13 @@
|-----handy-ruler------------------------------------------------------|
supertuxkart: supertuxkart (A 3D Kart racing game)
-supertuxkart:
+supertuxkart:
supertuxkart: A new and improved version of TuxKart, a kart racing game featuring
supertuxkart: Tux and his friends.
-supertuxkart:
+supertuxkart:
supertuxkart: Homepage: http://supertuxkart.sourceforge.net/
-supertuxkart:
-supertuxkart:
-supertuxkart:
-supertuxkart:
-supertuxkart:
+supertuxkart:
+supertuxkart:
+supertuxkart:
+supertuxkart:
+supertuxkart:
diff --git a/games/supertuxkart/supertuxkart.SlackBuild b/games/supertuxkart/supertuxkart.SlackBuild
index 3ca219a681e6d..e6f51e6e4b7be 100644
--- a/games/supertuxkart/supertuxkart.SlackBuild
+++ b/games/supertuxkart/supertuxkart.SlackBuild
@@ -2,10 +2,31 @@
# Slackware build script for supertuxkart
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2009-2011 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2011 Niels Horn, Rio de Janeiro, RJ, Brazil
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# revision date: 2011/12/09
PRGNAM=supertuxkart
-VERSION=0.6.2a
+VERSION=${VERSION:-0.7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -86,7 +107,7 @@ rm -f $PKG/usr/share/locale/{*.po,*.pot}
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS ChangeLog COPYING NEWS README TODO \
+ AUTHORS ChangeLog COPYING INSTALL README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/supertuxkart/supertuxkart.info b/games/supertuxkart/supertuxkart.info
index e749516c6804a..eba97c3c38199 100644
--- a/games/supertuxkart/supertuxkart.info
+++ b/games/supertuxkart/supertuxkart.info
@@ -1,10 +1,10 @@
PRGNAM="supertuxkart"
-VERSION="0.6.2a"
+VERSION="0.7.3"
HOMEPAGE="http://supertuxkart.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/supertuxkart/supertuxkart-0.6.2a-src.tar.bz2"
+DOWNLOAD="http://downloads.sourceforge.net/supertuxkart/supertuxkart-0.7.3-src.tar.bz2"
+MD5SUM="502664b2ec9ad5ab88b1882fef4c074d"
DOWNLOAD_x86_64=""
-MD5SUM="1672795016cc4964506706ac3287621e"
MD5SUM_x86_64=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
-APPROVED="dsomero"
+MAINTAINER="Niels Horn"
+EMAIL="niels.horn@gmail.com"
+APPROVED="Erik Hanson"
diff --git a/games/supertuxkart/translations.patch b/games/supertuxkart/translations.patch
index 2438891bb45da..f4c55e981e99c 100644
--- a/games/supertuxkart/translations.patch
+++ b/games/supertuxkart/translations.patch
@@ -1,8 +1,7 @@
-diff -Naur supertuxkart-0.6.1a.orig/src/file_manager.cpp supertuxkart-0.6.1a/src/file_manager.cpp
---- supertuxkart-0.6.1a.orig/src/file_manager.cpp 2009-01-29 01:30:09.000000000 +0000
-+++ supertuxkart-0.6.1a/src/file_manager.cpp 2009-06-10 13:12:03.000000000 +0000
-@@ -212,7 +212,12 @@
- //-----------------------------------------------------------------------------
+--- 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)