diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/tuxguitar/tuxguitar.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
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 |