aboutsummaryrefslogtreecommitdiff
path: root/audio/rack/rack.SlackBuild
diff options
context:
space:
mode:
authorDavid Ferrone <zapwai@gmail.com>2022-08-12 19:54:40 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-13 10:40:38 +0700
commit3382ff052bbd1378c2a60ac538abaacba1dce36c (patch)
treef99cba979a2ca7027e4efe49efafdf621b422038 /audio/rack/rack.SlackBuild
parent108f88eaf07f68cc2d29dcd8c1d70b6719af7c75 (diff)
audio/rack: Updated for version 2.1.2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/rack/rack.SlackBuild')
-rw-r--r--audio/rack/rack.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/audio/rack/rack.SlackBuild b/audio/rack/rack.SlackBuild
index e2bb9db6c9..be622f30af 100644
--- a/audio/rack/rack.SlackBuild
+++ b/audio/rack/rack.SlackBuild
@@ -24,12 +24,20 @@
PRGNAM=rack
SRCNAM=Rack2Free
-VERSION=${VERSION:-2.0.6}
+VERSION=${VERSION:-2.1.2}
SRCDIR=RackFree-$VERSION
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
@@ -38,13 +46,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
if [ "$ARCH" = "i586" ]; then
BITFLAG="32"