mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
games/xmoto: Updated for version 0.2.4
This commit is contained in:
parent
809ec1261a
commit
3026a3b806
4 changed files with 16 additions and 17 deletions
|
@ -16,4 +16,3 @@ the internet. (from http://xmoto.tuxfamily.org)
|
|||
Requirements:
|
||||
>=lua-5.1 (available @ SlackBuilds.org)
|
||||
>=ode-0.7 (available @ SlackBuilds.org)
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue