aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2021-07-31 18:08:20 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-01 00:35:44 +0700
commitcda483efa274473e774aad86afa8bac942fd071d (patch)
treee23accc7204bf7edd664018f08574e01c3778f86 /academic
parenta70cdf4da374c8b219e6d921aee0a7bca88b80bc (diff)
academic/units: updated for version 2.21
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/units/units.SlackBuild7
-rw-r--r--academic/units/units.info6
2 files changed, 8 insertions, 5 deletions
diff --git a/academic/units/units.SlackBuild b/academic/units/units.SlackBuild
index d9bfa5352ddb..760f771dfd98 100644
--- a/academic/units/units.SlackBuild
+++ b/academic/units/units.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for gnu units
-# Copyright (c) 2010 Gregory J.L. Tourte <artourter@gmail.com>
+# Copyright (c) 2010-2021 Gregory J. L. Tourte <artourter@gmail.com>
# Previously maintained by Yalla-One <yallaone@gmail.com>
# All rights reserved.
#
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=units
-VERSION=${VERSION:-2.20}
+VERSION=${VERSION:-2.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,6 +81,8 @@ find -L . \
\( -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 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -94,6 +96,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
+make units_cur_inst
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/academic/units/units.info b/academic/units/units.info
index 72cad5e9c9ef..195a9c1a759b 100644
--- a/academic/units/units.info
+++ b/academic/units/units.info
@@ -1,8 +1,8 @@
PRGNAM="units"
-VERSION="2.20"
+VERSION="2.21"
HOMEPAGE="https://www.gnu.org/software/units/"
-DOWNLOAD="https://ftpmirror.gnu.org/units/units-2.20.tar.gz"
-MD5SUM="28e2ba6fd2dbf056b7559e03c31577d5"
+DOWNLOAD="https://ftpmirror.gnu.org/units/units-2.21.tar.gz"
+MD5SUM="8fc4884bf5f7dab10b5a31bdf7726c2d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="Unidecode"