aboutsummaryrefslogtreecommitdiff
path: root/libraries/python3-pymdstat/python3-pymdstat.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/python3-pymdstat/python3-pymdstat.SlackBuild')
-rw-r--r--libraries/python3-pymdstat/python3-pymdstat.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/python3-pymdstat/python3-pymdstat.SlackBuild b/libraries/python3-pymdstat/python3-pymdstat.SlackBuild
index f73ae90c2da8..ab2751a5c4db 100644
--- a/libraries/python3-pymdstat/python3-pymdstat.SlackBuild
+++ b/libraries/python3-pymdstat/python3-pymdstat.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-pymdstat
-# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2015-2017 Philip Lacroix <slackph at posteo dot de>
# All rights reserved.
#
@@ -26,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pymdstat
-SRCNAM=$(echo $PRGNAM | sed "s/python3-//")
-VERSION=${VERSION:-0.4.2}
+SRCNAM=${PRGNAM#python3-*}
+VERSION=${VERSION:-0.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -74,9 +74,9 @@ cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
python3 setup.py install --root=$PKG