diff options
Diffstat (limited to 'academic/units/units.SlackBuild')
-rw-r--r-- | academic/units/units.SlackBuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/academic/units/units.SlackBuild b/academic/units/units.SlackBuild index c331294e94d39..e9586ecb367e8 100644 --- a/academic/units/units.SlackBuild +++ b/academic/units/units.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for gnu units -# Copyright (c) 2010-2023 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright (c) 2010-2024 Gregory J. L. Tourte <artourter@gmail.com> # Previously maintained by Yalla-One <yallaone@gmail.com> # All rights reserved. # @@ -27,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=units -VERSION=${VERSION:-2.22} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.23} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,11 +76,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - + -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + PYTHON=/usr/bin/python3 \ CFLAGS="$SLKCFLAGS" \ |