aboutsummaryrefslogtreecommitdiff
path: root/python/python-unicodedata2/python-unicodedata2.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-10-25 11:15:50 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-28 07:07:00 +0700
commit1e6d677016a862787aea71c6f3ce3e697ea053cb (patch)
treee41a7eba2f28189eda072370e353263cc7044649 /python/python-unicodedata2/python-unicodedata2.SlackBuild
parent5d15ddc36ee60e24f59c1e5e5993f9ace0a304e4 (diff)
python/python-unicodedata2: Updated for version 10.0.0_2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/python-unicodedata2/python-unicodedata2.SlackBuild')
-rw-r--r--python/python-unicodedata2/python-unicodedata2.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/python/python-unicodedata2/python-unicodedata2.SlackBuild b/python/python-unicodedata2/python-unicodedata2.SlackBuild
index 546b79947448..1408dbca8b06 100644
--- a/python/python-unicodedata2/python-unicodedata2.SlackBuild
+++ b/python/python-unicodedata2/python-unicodedata2.SlackBuild
@@ -24,7 +24,8 @@
PRGNAM=python-unicodedata2
SRCNAM=unicodedata2
-VERSION=${VERSION:-10.0.0}
+VERSION=${VERSION:-10.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 \