summaryrefslogtreecommitdiffstats
path: root/python/python-unicodedata2/python-unicodedata2.SlackBuild
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2018-07-04 07:44:05 +1200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-07 06:54:27 +0700
commit3fa742f30fbc25b97cd1543e08e95809db464e9a (patch)
treef3f62738eb7064688c91d2758e5b1d83d3847bcb /python/python-unicodedata2/python-unicodedata2.SlackBuild
parent96cc7cf94c2efa3311057c4425cb5c9451eaed6c (diff)
downloadslackbuilds-3fa742f30fbc25b97cd1543e08e95809db464e9a.tar.gz
slackbuilds-3fa742f30fbc25b97cd1543e08e95809db464e9a.tar.xz
python/python-unicodedata2: Updated for version 11.0.0.
Diffstat (limited to 'python/python-unicodedata2/python-unicodedata2.SlackBuild')
-rw-r--r--python/python-unicodedata2/python-unicodedata2.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/python/python-unicodedata2/python-unicodedata2.SlackBuild b/python/python-unicodedata2/python-unicodedata2.SlackBuild
index 1408dbca8b..aa5ef31b52 100644
--- a/python/python-unicodedata2/python-unicodedata2.SlackBuild
+++ b/python/python-unicodedata2/python-unicodedata2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python-unicodedata2
-# Copyright 2017 Andrew Clemons, Wellington New Zealand
+# Copyright 2017-2018 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,7 @@
PRGNAM=python-unicodedata2
SRCNAM=unicodedata2
-VERSION=${VERSION:-10.0.0_2}
-SRCVERSION=$(echo "$VERSION" | tr _ -)
+VERSION=${VERSION:-11.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$SRCVERSION
-tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.gz
-cd $SRCNAM-$SRCVERSION
+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 \