diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2011-05-01 10:18:18 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-05-03 09:08:22 -0500 |
commit | bf6cc2ad5a1784316e70bfbdc1a03fc0517459cb (patch) | |
tree | b2cc218081c7fa2bc29fba1a9a6de97e88d63e06 /audio/tuxguitar | |
parent | 09f96a1f04dafc1cf55acf11dbfcacaaf04be7fd (diff) |
audio/tuxguitar: ARCH fixes and cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio/tuxguitar')
-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 1b5fc10a18602..46a951c72c261 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 |