mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
37f88e6a88
commit
7d269b538d
2 changed files with 5 additions and 5 deletions
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue