aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2013-12-27 14:50:26 +0100
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:13:05 -0600
commit85461c6ddc9e1dc536bfc390c9dd1cebee422f03 (patch)
tree530fde08131798d6383a80a45273ed8cd0863630
parentfdac2cc32754174beae4e405441c3b2f344267f1 (diff)
games/extremetuxracer: Updated for version 0.6.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--games/extremetuxracer/extremetuxracer.SlackBuild20
-rw-r--r--games/extremetuxracer/extremetuxracer.desktop10
-rw-r--r--games/extremetuxracer/extremetuxracer.info8
-rw-r--r--games/extremetuxracer/slack-desc2
4 files changed, 12 insertions, 28 deletions
diff --git a/games/extremetuxracer/extremetuxracer.SlackBuild b/games/extremetuxracer/extremetuxracer.SlackBuild
index b8ba0ca834de..1693629a97a0 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
diff --git a/games/extremetuxracer/extremetuxracer.desktop b/games/extremetuxracer/extremetuxracer.desktop
deleted file mode 100644
index 1e73eb980cbb..000000000000
--- a/games/extremetuxracer/extremetuxracer.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Extreme Tuxracer
-Comment=Racing game with Tux, the penguin
-Exec=etracer
-Icon=etracericon_48
-Terminal=false
-Type=Application
-StartupNotify=true
-Categories=Game;ArcadeGame;
diff --git a/games/extremetuxracer/extremetuxracer.info b/games/extremetuxracer/extremetuxracer.info
index ca760868a8ba..5c9553bd81d6 100644
--- a/games/extremetuxracer/extremetuxracer.info
+++ b/games/extremetuxracer/extremetuxracer.info
@@ -1,8 +1,8 @@
PRGNAM="extremetuxracer"
-VERSION="0.4"
-HOMEPAGE="http://www.extremetuxracer.com"
-DOWNLOAD="http://downloads.sourceforge.net/extremetuxracer/extremetuxracer-0.4.tar.gz"
-MD5SUM="6830eb4e1ca7c5a541f286ded3853f9f"
+VERSION="0.6.0"
+HOMEPAGE="http://sourceforge.net/projects/extremetuxracer/"
+DOWNLOAD="http://downloads.sourceforge.net/extremetuxracer/etr-0.6.0.tar.xz"
+MD5SUM="c85690864b14f9d422b73025cb01aa8d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/games/extremetuxracer/slack-desc b/games/extremetuxracer/slack-desc
index b545432b8f0c..c968e0eac731 100644
--- a/games/extremetuxracer/slack-desc
+++ b/games/extremetuxracer/slack-desc
@@ -12,7 +12,7 @@ extremetuxracer: Extreme Tux Racer is an open source racing game featuring Tux
extremetuxracer: the Linux Penguin. ETRacer continues in the tracks of Tux
extremetuxracer: Racer and its forks.
extremetuxracer:
-extremetuxracer: Homepage: http://www.extremetuxracer.com
+extremetuxracer: Homepage: http://sourceforge.net/projects/extremetuxracer/
extremetuxracer:
extremetuxracer:
extremetuxracer: