python/python3-Flask-RESTX: SRCNAM changes.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2023-05-14 11:07:02 -06:00 committed by Willy Sudiarto Raharjo
parent 8e60a9a8f5
commit 390b3f3d61
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-Flask-RESTX
SRCNAM=$(echo ${PRGNAM,,} | sed "s/python3-//")
SRCNAM=${PRGNAM#python3-*}
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -67,9 +67,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$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 \