diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2022-06-17 08:10:15 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-06-18 09:09:55 +0700 |
commit | 2f021339d72f7445ee79691754ce5f34fbed6f7d (patch) | |
tree | 7da59d6515220c4caebdbe93236a65be574f1929 /system | |
parent | b9801743f324cefee02740afa5ff3880f5b9c692 (diff) | |
download | slackbuilds-2f021339d72f7445ee79691754ce5f34fbed6f7d.tar.gz |
system/patool: Added python3 support.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/patool/patool.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/patool/patool.SlackBuild b/system/patool/patool.SlackBuild index 4466bc65d5..d31a96201c 100644 --- a/system/patool/patool.SlackBuild +++ b/system/patool/patool.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for patool -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=patool VERSION=${VERSION:-1.12} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,6 +83,7 @@ find -L . \ sed -i 's/share\/man/\/usr\/man/' setup.py 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 |