aboutsummaryrefslogtreecommitdiff
path: root/libraries/QDarkStyle/QDarkStyle.SlackBuild
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2022-02-23 13:58:32 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-24 08:42:30 +0700
commit6f80a314960abe6437d126f91c8fa108a9ec4510 (patch)
tree0fc1ca2a760f56d6dc58bb90475c68249ff9ceac /libraries/QDarkStyle/QDarkStyle.SlackBuild
parent830ed117a1406dc52b208511d8ed228c8399702b (diff)
libraries/QDarkStyle: Updated for version 3.0.2 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/QDarkStyle/QDarkStyle.SlackBuild')
-rw-r--r--libraries/QDarkStyle/QDarkStyle.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/libraries/QDarkStyle/QDarkStyle.SlackBuild b/libraries/QDarkStyle/QDarkStyle.SlackBuild
index f172e97a723c8..33f44bb87f09b 100644
--- a/libraries/QDarkStyle/QDarkStyle.SlackBuild
+++ b/libraries/QDarkStyle/QDarkStyle.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for QDarkStyle
-# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=QDarkStyle
-VERSION=${VERSION:-1.11}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.0.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,17 +81,13 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
-
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+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 COPYING PKG-INFO README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a PKG-INFO *.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install