diff options
Diffstat (limited to '')
-rw-r--r-- | desktop/qt6ct/qt6ct.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/desktop/qt6ct/qt6ct.SlackBuild b/desktop/qt6ct/qt6ct.SlackBuild index 8e5d0de3eb..a7911e335f 100644 --- a/desktop/qt6ct/qt6ct.SlackBuild +++ b/desktop/qt6ct/qt6ct.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for qt6ct -# Copyright 2023, Alexander Verbovetsky, Moscow, Russia +# Copyright 2023-2024, Alexander Verbovetsky, Moscow, Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -31,13 +31,15 @@ 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 + ARCH="$( uname -m )" fi +case "$ARCH" in + i?86) echo "Qt 6 does not support 32bit CPUs" + exit 1 ;; + arm*) ARCH=arm ;; +esac + if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 |