From cda483efa274473e774aad86afa8bac942fd071d Mon Sep 17 00:00:00 2001 From: ArTourter Date: Sat, 31 Jul 2021 18:08:20 +0100 Subject: academic/units: updated for version 2.21 Signed-off-by: Willy Sudiarto Raharjo --- academic/units/units.SlackBuild | 7 +++++-- academic/units/units.info | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'academic/units') diff --git a/academic/units/units.SlackBuild b/academic/units/units.SlackBuild index d9bfa5352d..760f771dfd 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 +# Copyright (c) 2010-2021 Gregory J. L. Tourte # Previously maintained by Yalla-One # 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 72cad5e9c9..195a9c1a75 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" -- cgit v1.2.3