summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author Isaac Yu2023-02-05 01:19:28 +0100
committer Willy Sudiarto Raharjo2023-02-11 03:30:31 +0100
commit450d53d4e589fe5bd08ab4de03230f6d432e45ee (patch)
tree408b1b39c6ba02566243706a8c07d238b84d46b3 /libraries
parentf9c423dbffe3f4eac2e1f75818a211bc040b2403 (diff)
downloadslackbuilds-450d53d4e589fe5bd08ab4de03230f6d432e45ee.tar.gz
libraries/QDarkStyle: Updated for version 3.1.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/QDarkStyle/QDarkStyle.SlackBuild10
-rw-r--r--libraries/QDarkStyle/QDarkStyle.info8
2 files changed, 7 insertions, 11 deletions
diff --git a/libraries/QDarkStyle/QDarkStyle.SlackBuild b/libraries/QDarkStyle/QDarkStyle.SlackBuild
index 33f44bb87f..2186dc6a4c 100644
--- a/libraries/QDarkStyle/QDarkStyle.SlackBuild
+++ b/libraries/QDarkStyle/QDarkStyle.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for QDarkStyle
# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
-# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2022-2023 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=QDarkStyle
-VERSION=${VERSION:-3.0.2}
+VERSION=${VERSION:-3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +39,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
@@ -80,14 +77,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO *.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS.rst CHANGES.rst CODE_OF_CONDUCT.rst CONTRIBUTING.rst LICENSE.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/QDarkStyle/QDarkStyle.info b/libraries/QDarkStyle/QDarkStyle.info
index 15148fbe14..8f344e902d 100644
--- a/libraries/QDarkStyle/QDarkStyle.info
+++ b/libraries/QDarkStyle/QDarkStyle.info
@@ -1,10 +1,10 @@
PRGNAM="QDarkStyle"
-VERSION="3.0.2"
+VERSION="3.1"
HOMEPAGE="https://github.com/ColinDuquesnoy/QDarkStyleSheet"
-DOWNLOAD="https://pypi.python.org/packages/source/Q/QDarkStyle/QDarkStyle-3.0.2.tar.gz"
-MD5SUM="3dfe47a597b8f767a0df66b82d4cb294"
+DOWNLOAD="https://pypi.python.org/packages/source/Q/QDarkStyle/QDarkStyle-3.1.tar.gz"
+MD5SUM="1f98ffafdce2a44b3398db40c8c8ed1c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="QtPy python-helpdev"
+REQUIRES="QtPy python3-helpdev"
MAINTAINER="Isaac Yu"
EMAIL="isaacyu1@isaacyu1.com"