diff options
Diffstat (limited to 'python/msgpack-python/msgpack-python.SlackBuild')
-rw-r--r-- | python/msgpack-python/msgpack-python.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/python/msgpack-python/msgpack-python.SlackBuild b/python/msgpack-python/msgpack-python.SlackBuild index be9ac05a8c915..d7837901640b0 100644 --- a/python/msgpack-python/msgpack-python.SlackBuild +++ b/python/msgpack-python/msgpack-python.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for msgpack-python -# Copyright 2014-2016 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,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=msgpack-python -VERSION=${VERSION:-0.4.8} +SRCNAM=$(echo $PRGNAM | cut -c1-7) +VERSION=${VERSION:-0.5.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |