summaryrefslogtreecommitdiffstats
path: root/academic/units/units.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/units/units.SlackBuild')
-rw-r--r--academic/units/units.SlackBuild7
1 files changed, 5 insertions, 2 deletions
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 <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 \