diff --git a/academic/units/units.SlackBuild b/academic/units/units.SlackBuild index c331294e94..e9586ecb36 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 +# Copyright (c) 2010-2024 Gregory J. L. Tourte # Previously maintained by Yalla-One # 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" \ diff --git a/academic/units/units.info b/academic/units/units.info index ca3b0c5f5b..cab93752fb 100644 --- a/academic/units/units.info +++ b/academic/units/units.info @@ -1,8 +1,8 @@ PRGNAM="units" -VERSION="2.22" +VERSION="2.23" HOMEPAGE="https://www.gnu.org/software/units/" -DOWNLOAD="https://ftpmirror.gnu.org/units/units-2.22.tar.gz" -MD5SUM="abd49af0a325567ecfecf24bffacb770" +DOWNLOAD="https://ftpmirror.gnu.org/units/units-2.23.tar.gz" +MD5SUM="2cb4f754dcde5b2409e656f5d8d4a474" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="Unidecode"