python/python3-multidict: Update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Isaac Yu 2019-03-23 09:37:30 +07:00 committed by Willy Sudiarto Raharjo
parent 301d0d88e8
commit 0240a44382
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -24,7 +24,7 @@
PRGNAM=python3-multidict PRGNAM=python3-multidict
SRCNAM=multidict SRCNAM=multidict
VERSION=${VERSION:-4.5.2} VERSION=${VERSION:-4.5.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -75,7 +75,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.rst docs/ LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.rst docs/ requirements/ LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install