aboutsummaryrefslogtreecommitdiff
path: root/python/tzdata
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2023-05-14 09:37:19 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-15 11:05:54 +0700
commitc7a86f47a96b5336083ebaff039eacf486b1163d (patch)
tree6421c89717fbfb05b73c7eb69f41341bf09631a9 /python/tzdata
parent0a80b198ad0f0ff3c08cd1051a7406fa1421beb4 (diff)
python/tzdata: SRCNAM changes.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/tzdata')
-rw-r--r--python/tzdata/tzdata.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/python/tzdata/tzdata.SlackBuild b/python/tzdata/tzdata.SlackBuild
index b70448295d88..eba55ecaaa7e 100644
--- a/python/tzdata/tzdata.SlackBuild
+++ b/python/tzdata/tzdata.SlackBuild
@@ -27,7 +27,6 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tzdata
-SRCNAM=$(echo $PRGNAM | sed "s/python3-//")
VERSION=${VERSION:-2023.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,9 +68,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 $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \