diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2018-01-01 11:19:50 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-06 06:55:56 +0700 |
commit | e233cb703f8965a271c16f0bf0db01e705d57476 (patch) | |
tree | b26601072aa01cd55ba4fdaac9aea31becf4241c /system/slpkg/slpkg.SlackBuild | |
parent | d1e55d2b91a2ff9902ed6eef7bd5b8cf1b90cc94 (diff) | |
download | slackbuilds-e233cb703f8965a271c16f0bf0db01e705d57476.tar.gz |
system/slpkg: Updated for version 3.3.3.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'system/slpkg/slpkg.SlackBuild')
-rw-r--r-- | system/slpkg/slpkg.SlackBuild | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/system/slpkg/slpkg.SlackBuild b/system/slpkg/slpkg.SlackBuild index 4840d857f2..5f0b181588 100644 --- a/system/slpkg/slpkg.SlackBuild +++ b/system/slpkg/slpkg.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for slpkg -# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=slpkg -VERSION=${VERSION:-3.3.2} +VERSION=${VERSION:-3.3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,9 +56,6 @@ fi set -e -PYTHON=python -[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3 - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -75,13 +72,7 @@ find -L . \ # avoid install configuration files and man page over setup.py sed -i 's/if "install"/if ""/' setup.py -# Python 3 support -if [ "$PYTHON3" = "yes" ]; then - sh convert-py3k - cd py3k/$PRGNAM -fi - -$PYTHON setup.py install --root=$PKG +python 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 |