diff options
author | B. Watson <yalhcru@gmail.com> | 2020-11-06 16:23:58 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-11-14 17:16:44 +0700 |
commit | b5e484bf579e3ed900b7515025ab6dbc07b4a33e (patch) | |
tree | 8975104eff99e19e25931e414d989e1b0a823ba8 /development/asl/asl.SlackBuild | |
parent | 08f3a10e34bf39fff21984bd6976f9d7fdaaa4c4 (diff) |
development/asl: Updated for version 142_bld178.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/asl/asl.SlackBuild')
-rw-r--r-- | development/asl/asl.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/development/asl/asl.SlackBuild b/development/asl/asl.SlackBuild index 3a6696be1dae..8ccdf75e02c5 100644 --- a/development/asl/asl.SlackBuild +++ b/development/asl/asl.SlackBuild @@ -7,6 +7,7 @@ # Original version had no license. Modified version released under the # WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20201106 bkw: update for 142_bld178. # 20191202 bkw: update for 142_bld150. # 20180911 bkw: update for 142_bld137. # 20180615 bkw: update for 142_bld134. @@ -26,7 +27,7 @@ PRGNAM=asl SRCNAM=asl-current -VERSION=${VERSION:-142_bld150} +VERSION=${VERSION:-142_bld178} SRCVER=$(echo $VERSION | tr _ -) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -83,7 +84,11 @@ UTF8="${UTF8:-no}" sed -i 's/CHARSET_ISO8859_1/CHARSET_UTF8/' Makefile.def # binaries are already stripped, no symlinks in man pages. -make -j1 binaries install PREFIX=$PKG DOCPATH="" +# 20201106 bkw: upstream changed PREFIX to INSTROOT, support both +# in case someone wants to build an old version. +DESTDIR=PREFIX +grep -q INSTROOT Makefile && DESTDIR=INSTROOT +make -j1 binaries install $DESTDIR=$PKG DOCPATH="" gzip -9 $PKG/usr/man/man?/*.? mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |