diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-11-25 22:01:27 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-26 09:11:45 +0700 |
commit | 7d269b538d28a476d751223fc4bfcce3173ff3d5 (patch) | |
tree | 289eabe525dfe6197c297ac668078dfbee84aea1 /python/boolean-py/boolean-py.SlackBuild | |
parent | 37f88e6a88b5e690af82a2cb5fb8ef6ee08ddb47 (diff) |
python/boolean-py: 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>
Diffstat (limited to 'python/boolean-py/boolean-py.SlackBuild')
-rw-r--r-- | python/boolean-py/boolean-py.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/boolean-py/boolean-py.SlackBuild b/python/boolean-py/boolean-py.SlackBuild index 20a8ef1ed5..cf8c334d95 100644 --- a/python/boolean-py/boolean-py.SlackBuild +++ b/python/boolean-py/boolean-py.SlackBuild @@ -25,6 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=boolean-py +SRCNAM=boolean.py VERSION=${VERSION:-4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,10 +71,9 @@ trap 'echo "$0 FAILED at line $LINENO!" | tee $OUTPUT/error-${PRGNAM}.log' ERR rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -mv -v $TMP/boolean.py-$VERSION $TMP/$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 \ |