aboutsummaryrefslogtreecommitdiff
path: root/games/supertuxkart/supertuxkart.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/supertuxkart/supertuxkart.SlackBuild')
-rw-r--r--games/supertuxkart/supertuxkart.SlackBuild21
1 files changed, 8 insertions, 13 deletions
diff --git a/games/supertuxkart/supertuxkart.SlackBuild b/games/supertuxkart/supertuxkart.SlackBuild
index f91706791237..be7421a2aea8 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