aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2024-02-22 23:43:51 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-24 15:34:49 +0700
commitc208c35cb3d167ef47858ad7d8a8b7b32611120d (patch)
tree81174c6998c48de74385cd9eb4c44f5770b905b7 /academic
parent628f31818b774bc621348473a15c0f0112d5079a (diff)
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>
Diffstat (limited to 'academic')
-rw-r--r--academic/units/units.SlackBuild13
-rw-r--r--academic/units/units.info6
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 <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" \
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"