summaryrefslogtreecommitdiff
path: root/python/python-unicodedata2/python-unicodedata2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python-unicodedata2/python-unicodedata2.SlackBuild')
-rw-r--r--python/python-unicodedata2/python-unicodedata2.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/python/python-unicodedata2/python-unicodedata2.SlackBuild b/python/python-unicodedata2/python-unicodedata2.SlackBuild
index 3ca71d02b7..546b799474 100644
--- a/python/python-unicodedata2/python-unicodedata2.SlackBuild
+++ b/python/python-unicodedata2/python-unicodedata2.SlackBuild
@@ -24,8 +24,7 @@
PRGNAM=python-unicodedata2
SRCNAM=unicodedata2
-VERSION=${VERSION:-9.0.0_4}
-SRCVERSION=${SRCVERSION:-$(echo "$VERSION" | tr '_' '-')}
+VERSION=${VERSION:-10.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 \