From 24c71917f89d978de3f40d9bd7e3aafb3af447b0 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Fri, 25 Nov 2022 23:30:23 +0900 Subject: [PATCH] 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 Signed-off-by: Willy Sudiarto Raharjo --- development/ttk-themes/ttk-themes.SlackBuild | 7 +++---- development/ttk-themes/ttk-themes.info | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/development/ttk-themes/ttk-themes.SlackBuild b/development/ttk-themes/ttk-themes.SlackBuild index b09f35b8eb..daea86641f 100644 --- a/development/ttk-themes/ttk-themes.SlackBuild +++ b/development/ttk-themes/ttk-themes.SlackBuild @@ -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 \ diff --git a/development/ttk-themes/ttk-themes.info b/development/ttk-themes/ttk-themes.info index 2d7b8b1d51..717b7cb026 100644 --- a/development/ttk-themes/ttk-themes.info +++ b/development/ttk-themes/ttk-themes.info @@ -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=""