summaryrefslogtreecommitdiffstats
path: root/development/QtPy/QtPy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/QtPy/QtPy.SlackBuild')
-rw-r--r--development/QtPy/QtPy.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/development/QtPy/QtPy.SlackBuild b/development/QtPy/QtPy.SlackBuild
index ab20fa6647..7f796858b2 100644
--- a/development/QtPy/QtPy.SlackBuild
+++ b/development/QtPy/QtPy.SlackBuild
@@ -3,7 +3,8 @@
# Slackware build script for QtPy
# Copyright 2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com>
+# Copyright 2023 nomnombtc <nomnombtc@arcor.de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=QtPy
-VERSION=${VERSION:-2.1.0}
+VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +40,6 @@ if [ -z "$ARCH" ]; then
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.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -60,6 +58,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -87,7 +88,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS.md CHANGELOG.md LICENSE.txt PKG-INFO README.md SECURITY.md \
+ AUTHORS.md CHANGELOG.md LICENSE.txt README.md SECURITY.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild