academic/units: updated for version 2.21

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
ArTourter 2021-07-31 18:08:20 +01:00 committed by Willy Sudiarto Raharjo
parent a70cdf4da3
commit cda483efa2
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 5 deletions

View file

@ -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 \

View file

@ -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"