diff options
Diffstat (limited to 'python/tqdm/tqdm.SlackBuild')
-rw-r--r-- | python/tqdm/tqdm.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/python/tqdm/tqdm.SlackBuild b/python/tqdm/tqdm.SlackBuild index 8e404f60b210f..7dce6efaa758f 100644 --- a/python/tqdm/tqdm.SlackBuild +++ b/python/tqdm/tqdm.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for tqdm # Copyright 2016-2019 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2019 - Dionysis Ntreou - United Kingdom # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +24,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=tqdm -VERSION=${VERSION:-4.31.1} +VERSION=${VERSION:-4.36.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -34,12 +34,10 @@ if [ -z "$ARCH" ]; then *) ARCH=$( uname -m ) ;; esac fi - CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} - if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" @@ -53,9 +51,7 @@ else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi - set -e - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -80,7 +76,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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.rst LICENCE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst LICENCE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |