diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2011-05-01 10:20:10 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-05-03 09:08:22 -0500 |
commit | 106daf7eeb839f3613c5d49b9f331a22372adc6c (patch) | |
tree | 7acef423d63eacc64aaf0726074a3a81d2a7e63d /games | |
parent | 989dc889f1e81f9a9ce12c527160a51cae399011 (diff) | |
download | slackbuilds-106daf7eeb839f3613c5d49b9f331a22372adc6c.tar.gz |
games/UrbanTerror: ARCH fixes and cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/UrbanTerror/UrbanTerror.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/games/UrbanTerror/UrbanTerror.SlackBuild b/games/UrbanTerror/UrbanTerror.SlackBuild index 4cf3998323..2b4c415c26 100644 --- a/games/UrbanTerror/UrbanTerror.SlackBuild +++ b/games/UrbanTerror/UrbanTerror.SlackBuild @@ -14,10 +14,17 @@ PRGNAM=UrbanTerror VERSION=${VERSION:-4.1} -ARCH=${ARCH:-i486} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM |