From 6f80a314960abe6437d126f91c8fa108a9ec4510 Mon Sep 17 00:00:00 2001 From: Isaac Yu Date: Wed, 23 Feb 2022 13:58:32 -0800 Subject: libraries/QDarkStyle: Updated for version 3.0.2 (+new maintainer) Signed-off-by: Willy Sudiarto Raharjo --- libraries/QDarkStyle/QDarkStyle.SlackBuild | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'libraries/QDarkStyle/QDarkStyle.SlackBuild') diff --git a/libraries/QDarkStyle/QDarkStyle.SlackBuild b/libraries/QDarkStyle/QDarkStyle.SlackBuild index f172e97a723c..33f44bb87f09 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 # 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 -- cgit v1.2.3