aboutsummaryrefslogtreecommitdiff
path: root/system/jsawk
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2019-12-15 15:48:21 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:29 +0700
commit7c720e44cd9000bbd638d58be5942bec36764628 (patch)
treefa3476afa684de9edb7959c5dcc40fb5d6f74bcb /system/jsawk
parent03fac6920caec46af801b1eda3a5dd03f925855a (diff)
system/jsawk: Support mozjs60 from -current.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'system/jsawk')
-rw-r--r--system/jsawk/jsawk.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/system/jsawk/jsawk.SlackBuild b/system/jsawk/jsawk.SlackBuild
index f08ddfd1424d..f691dd7458af 100644
--- a/system/jsawk/jsawk.SlackBuild
+++ b/system/jsawk/jsawk.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for jsawk
-# Copyright 2013,2016,2018 Andrew Clemons, Wellington, New Zealand
+# Copyright 2013,2016,2018-2019 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:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -47,8 +47,8 @@ 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
+if command -v js60 > /dev/null 2>&1 ; then
+ sed -i '/JSBIN=/s/-js/-js60/' $PKG/usr/bin/jsawk
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -59,4 +59,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-