development/ttk-themes: Fix github tarball handling.

https://slackbuilds.org/GITHUB_URLs.txt

This avoids having differently named tarballs and src
directories.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-11-25 23:30:23 +09:00 committed by Willy Sudiarto Raharjo
parent 0abbd3d12a
commit 24c71917f8
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 4 additions and 5 deletions

View file

@ -47,10 +47,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
mv $SRCNAM-$VERSION $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
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 \

View file

@ -1,7 +1,7 @@
PRGNAM="ttk-themes"
VERSION="3.2.2"
HOMEPAGE="https://github.com/TkinterEP/ttkthemes"
DOWNLOAD="https://github.com/TkinterEP/ttkthemes/archive/v3.2.2/ttk-themes-3.2.2.tar.gz"
DOWNLOAD="https://github.com/TkinterEP/ttkthemes/archive/v3.2.2/ttkthemes-3.2.2.tar.gz"
MD5SUM="5a15968eec2d671992707c6e204d71e1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""