summaryrefslogtreecommitdiff
path: root/python/python-unicodedata2/python-unicodedata2.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2020-03-27 19:35:24 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-04 09:50:00 +0700
commitb1aee14a0c9bc0f87632aed7e63f9f7718521ccf (patch)
tree01a479727578afe454759599834ee1f158b74e86 /python/python-unicodedata2/python-unicodedata2.SlackBuild
parentcd73f5f606aa898528074a095b3cdc0b4a32db4f (diff)
downloadslackbuilds-b1aee14a0c9bc0f87632aed7e63f9f7718521ccf.tar.gz
python/python-unicodedata2: Updated for version 13.0.0_2.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-unicodedata2/python-unicodedata2.SlackBuild')
-rw-r--r--python/python-unicodedata2/python-unicodedata2.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/python/python-unicodedata2/python-unicodedata2.SlackBuild b/python/python-unicodedata2/python-unicodedata2.SlackBuild
index b5b92b2d79..1bdae44d88 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-2019 Andrew Clemons, Wellington New Zealand
+# Copyright 2017-2020 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,8 @@
PRGNAM=python-unicodedata2
SRCNAM=unicodedata2
-VERSION=${VERSION:-12.1.0}
+VERSION=${VERSION:-13.0.0_2}
+SRCVERSION=$(echo "$VERSION" | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+rm -rf $SRCNAM-$SRCVERSION
+tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.gz
+cd $SRCNAM-$SRCVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \