diff options
Diffstat (limited to 'network/opera-legacy')
-rw-r--r-- | network/opera-legacy/opera-legacy.SlackBuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/network/opera-legacy/opera-legacy.SlackBuild b/network/opera-legacy/opera-legacy.SlackBuild index 46361d040d..b4a9ac92f3 100644 --- a/network/opera-legacy/opera-legacy.SlackBuild +++ b/network/opera-legacy/opera-legacy.SlackBuild @@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i686 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -55,16 +55,11 @@ SRCVER=${SRCVER:-12.16-1860} set -e -if [ "$ARCH" = "x86_64" ]; then - LIBDIRSUFFIX="64" - OARCH=$ARCH -elif [ "$ARCH" = "i686" ]; then - LIBDIRSUFFIX="" - OARCH=i386 -else - printf "\n\n$ARCH is not supported...\n" - exit 1 -fi +case "$ARCH" in + i?86) OARCH=i386 ; LIBDIRSUFFIX="" ;; + x86_64) OARCH=$ARCH ; LIBDIRSUFFIX="64" ;; + *) printf "\n\n$ARCH is not supported...\n" ; exit 1 ;; +esac rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT |