academic/units: Updated for version 2.23.

Signed-off-by: ArTourter <artourter@gmail.com>
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
ArTourter 2024-02-22 23:43:51 +00:00 committed by Willy Sudiarto Raharjo
parent 628f31818b
commit c208c35cb3
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 11 deletions

View file

@ -3,7 +3,7 @@
# Slackware build script for gnu units # 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> # Previously maintained by Yalla-One <yallaone@gmail.com>
# All rights reserved. # All rights reserved.
# #
@ -27,8 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=units PRGNAM=units
VERSION=${VERSION:-2.22} VERSION=${VERSION:-2.23}
BUILD=${BUILD:-2} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -76,11 +76,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
-o -perm 511 \) -exec chmod 755 {} \; -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
PYTHON=/usr/bin/python3 \ PYTHON=/usr/bin/python3 \
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \

View file

@ -1,8 +1,8 @@
PRGNAM="units" PRGNAM="units"
VERSION="2.22" VERSION="2.23"
HOMEPAGE="https://www.gnu.org/software/units/" HOMEPAGE="https://www.gnu.org/software/units/"
DOWNLOAD="https://ftpmirror.gnu.org/units/units-2.22.tar.gz" DOWNLOAD="https://ftpmirror.gnu.org/units/units-2.23.tar.gz"
MD5SUM="abd49af0a325567ecfecf24bffacb770" MD5SUM="2cb4f754dcde5b2409e656f5d8d4a474"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="Unidecode" REQUIRES="Unidecode"