From 3026a3b8068c57ed65e958246e32045965abcd92 Mon Sep 17 00:00:00 2001 From: hollywoodb Date: Tue, 11 May 2010 19:44:44 +0200 Subject: games/xmoto: Updated for version 0.2.4 --- games/xmoto/README | 1 - games/xmoto/slack-desc | 18 ++++++++++++++---- games/xmoto/xmoto.SlackBuild | 12 +----------- games/xmoto/xmoto.info | 2 +- 4 files changed, 16 insertions(+), 17 deletions(-) diff --git a/games/xmoto/README b/games/xmoto/README index b53091ab61..6848fc3940 100644 --- a/games/xmoto/README +++ b/games/xmoto/README @@ -16,4 +16,3 @@ the internet. (from http://xmoto.tuxfamily.org) Requirements: >=lua-5.1 (available @ SlackBuilds.org) >=ode-0.7 (available @ SlackBuilds.org) - diff --git a/games/xmoto/slack-desc b/games/xmoto/slack-desc index 80cf668502..5dc37516a5 100644 --- a/games/xmoto/slack-desc +++ b/games/xmoto/slack-desc @@ -1,9 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| xmoto: xmoto (2D motocross platform game) xmoto: -xmoto: X-Moto is a challenging 2D motocross platform game, where physics play -xmoto: an all important role in the gameplay. You need to control your bike -xmoto: to its limit, if you want to have a chance finishing the more difficult -xmoto: of the challenges. +xmoto: X-Moto is a challenging 2D motocross platform game, where physics +xmoto: playan all important role in the gameplay. You need to control your +xmoto: bike to its limit, if you want to have a chance finishing the more +xmoto: difficult of the challenges. +xmoto: +xmoto: xmoto: xmoto: xmoto: diff --git a/games/xmoto/xmoto.SlackBuild b/games/xmoto/xmoto.SlackBuild index f8d985ca55..dfd310d666 100644 --- a/games/xmoto/xmoto.SlackBuild +++ b/games/xmoto/xmoto.SlackBuild @@ -9,11 +9,6 @@ # Modified by the SlackBuilds.org project -if [ "$(id -u)" != "0" ]; then - echo "This script must be run as root!" - exit -fi - set -e NAME=xmoto @@ -21,7 +16,7 @@ VERSION=0.2.4 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=${PKG:-$TMP/package-$NAME} OUTPUT=${OUTPUT:-/tmp} @@ -31,7 +26,6 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar zxvf $CWD/$NAME-$VERSION-src.tar.gz cd $NAME-$VERSION - chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -64,10 +58,6 @@ mkdir -p $PKG/usr/share/{pixmaps,applications} install -m 0644 extra/$NAME.xpm $PKG/usr/share/pixmaps/ install -m 0644 extra/$NAME.desktop $PKG/usr/share/applications/ -# Fix path to icon in desktop file -sed -i 's|Icon=xmoto.xpm|Icon=/usr/share/pixmaps/xmoto.xpm|' \ - $PKG/usr/share/applications/$NAME.desktop - # X-Moto doesn't like to honour the locale options that # the configure script says it does. mv $PKG/usr/share/games/locale $PKG/usr/share diff --git a/games/xmoto/xmoto.info b/games/xmoto/xmoto.info index 8d59967987..caa2d38792 100644 --- a/games/xmoto/xmoto.info +++ b/games/xmoto/xmoto.info @@ -5,4 +5,4 @@ DOWNLOAD="http://dl.sourceforge.net/xmoto/xmoto-0.2.4-src.tar.gz" MD5SUM="78f776695a664b855e3659df25cc6d82" MAINTAINER="hollywoodb" EMAIL="hollywoodb@fastmail.fm" -APPROVED="robw810" +APPROVED="rworkman" -- cgit v1.2.3