From c208c35cb3d167ef47858ad7d8a8b7b32611120d Mon Sep 17 00:00:00 2001 From: ArTourter Date: Thu, 22 Feb 2024 23:43:51 +0000 Subject: academic/units: Updated for version 2.23. Signed-off-by: ArTourter Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- academic/units/units.SlackBuild | 13 +++++-------- academic/units/units.info | 6 +++--- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/academic/units/units.SlackBuild b/academic/units/units.SlackBuild index c331294e94d3..e9586ecb367e 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 ca3b0c5f5b80..cab93752fb5b 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" -- cgit v1.2.3