system/slpkg: Updated for version 3.3.3.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
d1e55d2b91
commit
e233cb703f
|
@ -10,9 +10,3 @@ Optional dependencies:
|
|||
- graph-easy (for drawing ascii dependencies diagram)
|
||||
- aria2 (alternative downloader)
|
||||
- httpie (alternative downloader)
|
||||
|
||||
|
||||
NOTE: If you want to build slpkg for use with Python 3.x (needs the
|
||||
optional dependency python3) pass the script PYTHON3=yes, like:
|
||||
|
||||
PYTHON3=yes ./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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="slpkg"
|
||||
VERSION="3.3.2"
|
||||
VERSION="3.3.3"
|
||||
HOMEPAGE="https://github.com/dslackw/slpkg"
|
||||
DOWNLOAD="https://github.com/dslackw/slpkg/archive/v3.3.2/slpkg-3.3.2.tar.gz"
|
||||
MD5SUM="7eb3f0cd2d78fcd073420a5152ec14cd"
|
||||
DOWNLOAD="https://github.com/dslackw/slpkg/archive/v3.3.3/slpkg-3.3.3.tar.gz"
|
||||
MD5SUM="da0c65f15f8c8b53edd964a703560e79"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue