mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/python3-Flask-Babel: SRCNAM changes.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f8d6d0e106
commit
8e60a9a8f5
1 changed files with 4 additions and 4 deletions
|
@ -30,7 +30,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=python3-Flask-Babel
|
PRGNAM=python3-Flask-Babel
|
||||||
SRCNAM=$(echo ${PRGNAM,,} | sed -e "s/python3-//" -e 's/-/_/')
|
SRCNAM=$(echo ${PRGNAM#python3-*} | sed -e "s/-/_/")
|
||||||
VERSION=${VERSION:-3.0.0}
|
VERSION=${VERSION:-3.0.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -72,9 +72,9 @@ set -e
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $SRCNAM-$VERSION
|
rm -rf ${SRCNAM,,}-$VERSION
|
||||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
tar xvf $CWD/${SRCNAM,,}-$VERSION.tar.gz
|
||||||
cd $SRCNAM-$VERSION
|
cd ${SRCNAM,,}-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||||
|
|
Loading…
Reference in a new issue