diff options
Diffstat (limited to 'python/python-qrcode/python-qrcode.SlackBuild')
| -rw-r--r-- | python/python-qrcode/python-qrcode.SlackBuild | 25 | 
1 files changed, 6 insertions, 19 deletions
diff --git a/python/python-qrcode/python-qrcode.SlackBuild b/python/python-qrcode/python-qrcode.SlackBuild index 72688e156b..04bafe2086 100644 --- a/python/python-qrcode/python-qrcode.SlackBuild +++ b/python/python-qrcode/python-qrcode.SlackBuild @@ -2,7 +2,7 @@  # Slackware build script for python-qrcode -# Copyright 2015-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2015-2025 Willy Sudiarto Raharjo <willysr@slackbuilds.org>  # All rights reserved.  #  # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,8 @@  cd $(dirname $0) ; CWD=$(pwd)  PRGNAM=python-qrcode -VERSION=${VERSION:-8.0} +SRCNAM=qrcode +VERSION=${VERSION:-8.2}  BUILD=${BUILD:-1}  TAG=${TAG:-_SBo}  PKGTYPE=${PKGTYPE:-tgz} @@ -47,28 +48,14 @@ TMP=${TMP:-/tmp/SBo}  PKG=$TMP/package-$PRGNAM  OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then -  SLKCFLAGS="-O2 -march=i586 -mtune=i686" -  LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then -  SLKCFLAGS="-O2 -march=i686 -mtune=i686" -  LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then -  SLKCFLAGS="-O2 -fPIC" -  LIBDIRSUFFIX="64" -else -  SLKCFLAGS="-O2" -  LIBDIRSUFFIX="" -fi -  set -e  rm -rf $PKG  mkdir -p $TMP $PKG $OUTPUT  cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -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 \  | 
