diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2018-11-24 16:31:45 +1300 |
---|---|---|
committer | Andrew Clemons <andrew.clemons@gmail.com> | 2018-11-24 16:32:32 +1300 |
commit | 4e9d02517390df440e7fc44bc4efac4107c488b5 (patch) | |
tree | ec1e6c7f67f5ba559e2798cce5b4a63c27549e2a /system/jsawk | |
parent | 2a22ca6de4d21c313bdd14fb0e8005b5f30df514 (diff) |
system/jsawk: Support for Slackware current.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'system/jsawk')
-rw-r--r-- | system/jsawk/jsawk.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/system/jsawk/jsawk.SlackBuild b/system/jsawk/jsawk.SlackBuild index 0e6dfa77d292e..f08ddfd1424d1 100644 --- a/system/jsawk/jsawk.SlackBuild +++ b/system/jsawk/jsawk.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for jsawk -# Copyright 2013,2016 Andrew Clemons, Wellington, New Zealand +# Copyright 2013,2016,2018 Andrew Clemons, Wellington, New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=jsawk VERSION=${VERSION:-1.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} ARCH=noarch @@ -47,6 +47,10 @@ cp $CWD/jsawk $PKG/usr/bin chmod 0755 $PKG/usr/bin/jsawk chown root:root $PKG/usr/bin/jsawk +if command -v js52 > /dev/null 2>&1 ; then + sed -i '/JSBIN=/s/-js/-js52/' $PKG/usr/bin/jsawk +fi + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |