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>
This commit is contained in:
Andrew Clemons 2022-11-25 22:01:27 +09:00 committed by Willy Sudiarto Raharjo
parent 37f88e6a88
commit 7d269b538d
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 5 additions and 5 deletions

View file

@ -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 \

View file

@ -1,7 +1,7 @@
PRGNAM="boolean-py"
VERSION="4.0"
HOMEPAGE="https://github.com/bastikr/boolean.py"
DOWNLOAD="https://github.com/bastikr/boolean.py/archive/v4.0/boolean-py-4.0.tar.gz"
DOWNLOAD="https://github.com/bastikr/boolean.py/archive/v4.0/boolean.py-4.0.tar.gz"
MD5SUM="4c73209542bc328e96b5b427e5f55bec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""