summaryrefslogtreecommitdiff
path: root/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
diff options
context:
space:
mode:
authorSerban Udrea <S.Udrea@gsi.de>2022-11-07 00:10:43 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-12 22:33:20 +0700
commitb775f3e2b983b8b2edf51c454560ad2c5c8c5b13 (patch)
tree74f74dec234d15b1707c2f55faf628b1def0a658 /academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
parent6d4041e8f2c821a6ed951fa73459b8d20fe5c3c8 (diff)
downloadslackbuilds-b775f3e2b983b8b2edf51c454560ad2c5c8c5b13.tar.gz
academic/MetaPhlAn2: Fix ARCH and deps.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/MetaPhlAn2/MetaPhlAn2.SlackBuild')
-rw-r--r--academic/MetaPhlAn2/MetaPhlAn2.SlackBuild10
1 files changed, 1 insertions, 9 deletions
diff --git a/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild b/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
index a64fe00125..99d17512b7 100644
--- a/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
+++ b/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
@@ -31,14 +31,8 @@ TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
COMMIT=4e4416321c75828ac8ea55d36f5a65ebd39058c5
+ARCH=noarch
-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.
@@ -51,8 +45,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-ARCH=noarch
-
set -e
# Construct the source tarball name.