From 8ebd5951493227e742e851b7aa6afe930c5f33a4 Mon Sep 17 00:00:00 2001 From: D Woodfall Date: Tue, 16 May 2023 15:41:03 +0100 Subject: academic/seqkit: Fix ARCH sect. Signed-off-by: bedlam Signed-off-by: Willy Sudiarto Raharjo --- academic/seqkit/seqkit.SlackBuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'academic/seqkit') diff --git a/academic/seqkit/seqkit.SlackBuild b/academic/seqkit/seqkit.SlackBuild index 447b5802b803c..caff91cfb1960 100644 --- a/academic/seqkit/seqkit.SlackBuild +++ b/academic/seqkit/seqkit.SlackBuild @@ -31,18 +31,21 @@ TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then - ARCH=$( uname -m ) + case "$( uname -m )" in + i?86) ARCH=i586 ;; + *) ARCH=$( uname -m ) ;; + esac fi case "$ARCH" in - i?86) ARCH=i386 + i?86) BINARCH="386" ;; x86_64) BINARCH="amd64" ;; *) - printf "\n\n%s\n" "$ARCH is not supported." + printf "\n\n%s\n" "$ARCH is not supported." >/dev/stderr exit 1 ;; esac -- cgit v1.2.3