summaryrefslogtreecommitdiff
path: root/games/extremetuxracer/extremetuxracer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/extremetuxracer/extremetuxracer.SlackBuild')
-rw-r--r--games/extremetuxracer/extremetuxracer.SlackBuild20
1 files changed, 7 insertions, 13 deletions
diff --git a/games/extremetuxracer/extremetuxracer.SlackBuild b/games/extremetuxracer/extremetuxracer.SlackBuild
index b8ba0ca834..1693629a97 100644
--- a/games/extremetuxracer/extremetuxracer.SlackBuild
+++ b/games/extremetuxracer/extremetuxracer.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for extremetuxracer
-# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2013 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=extremetuxracer
-VERSION=0.4
+VERSION=0.6.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,15 +59,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf etr-$VERSION
+tar xvf $CWD/etr-$VERSION.tar.xz
+cd etr-$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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -78,6 +78,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--with-tcl=/usr/lib$LIBDIRSUFFIX \
--build=$ARCH-slackware-linux
@@ -85,13 +86,6 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-mkdir -p $PKG/usr/share/{pixmaps,applications}
-
-unzip etracericons.zip
-cp -f etracericons/etracericon_48.png $PKG/usr/share/pixmaps/
-cp -f $CWD/extremetuxracer.desktop $PKG/usr/share/applications/
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild