games/extremetuxracer: Updated for version 0.6.0.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2013-12-27 14:50:26 +01:00 committed by Erik Hanson
parent fdac2cc327
commit 85461c6ddc
4 changed files with 12 additions and 28 deletions

View File

@ -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

View File

@ -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;

View File

@ -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=""

View File

@ -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: