summaryrefslogtreecommitdiff
path: root/python/msgpack-python/msgpack-python.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2018-11-04 10:40:13 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:48:24 +0700
commit93db2fa887275e986e08b63c40a6e21190242781 (patch)
tree4fa787b5a35fa627f3636d79e71956a53b988cbc /python/msgpack-python/msgpack-python.SlackBuild
parent7b36326e13cd560877ba52d7de2d8f8f808c4904 (diff)
downloadslackbuilds-93db2fa887275e986e08b63c40a6e21190242781.tar.gz
python/msgpack-python: Updated for version 0.5.6.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/msgpack-python/msgpack-python.SlackBuild')
-rw-r--r--python/msgpack-python/msgpack-python.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/python/msgpack-python/msgpack-python.SlackBuild b/python/msgpack-python/msgpack-python.SlackBuild
index be9ac05a8c..d783790164 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 \