From 106daf7eeb839f3613c5d49b9f331a22372adc6c Mon Sep 17 00:00:00 2001 From: dsomero Date: Sun, 1 May 2011 10:20:10 -0400 Subject: games/UrbanTerror: ARCH fixes and cleanup. Signed-off-by: dsomero --- games/UrbanTerror/UrbanTerror.SlackBuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'games/UrbanTerror/UrbanTerror.SlackBuild') 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 -- cgit v1.2.3