diff options
author | hollywoodb <hollywoodb@fastmail.fm> | 2010-05-11 19:44:44 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 19:44:44 +0200 |
commit | 3026a3b8068c57ed65e958246e32045965abcd92 (patch) | |
tree | 1d5477d22e185d50e7c6c9a9ef62d232bc1315e8 /games/xmoto/xmoto.SlackBuild | |
parent | 809ec1261ab5e9b7b7403d5cc086228d8caa3346 (diff) |
games/xmoto: Updated for version 0.2.4
Diffstat (limited to 'games/xmoto/xmoto.SlackBuild')
-rw-r--r-- | games/xmoto/xmoto.SlackBuild | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/games/xmoto/xmoto.SlackBuild b/games/xmoto/xmoto.SlackBuild index f8d985ca55a28..dfd310d666d9b 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 |