From bf6cc2ad5a1784316e70bfbdc1a03fc0517459cb Mon Sep 17 00:00:00 2001 From: dsomero Date: Sun, 1 May 2011 10:18:18 -0400 Subject: audio/tuxguitar: ARCH fixes and cleanup. Signed-off-by: dsomero --- audio/tuxguitar/tuxguitar.SlackBuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/audio/tuxguitar/tuxguitar.SlackBuild b/audio/tuxguitar/tuxguitar.SlackBuild index 1b5fc10a18..46a951c72c 100644 --- a/audio/tuxguitar/tuxguitar.SlackBuild +++ b/audio/tuxguitar/tuxguitar.SlackBuild @@ -24,10 +24,16 @@ PRGNAM=tuxguitar VERSION=1.1 -ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + *) ARCH=$( uname -m ) ;; + esac +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -- cgit v1.2.3