mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
system/jsawk: Support mozjs68 from -current.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
parent
6f3d57cd64
commit
1178225bb5
1 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for jsawk
|
||||
|
||||
# Copyright 2013,2016,2018-2019 Andrew Clemons, Wellington, New Zealand
|
||||
# Copyright 2013,2016,2018-2020 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:-3}
|
||||
BUILD=${BUILD:-4}
|
||||
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 js60 > /dev/null 2>&1 ; then
|
||||
sed -i '/JSBIN=/s/-js/-js60/' $PKG/usr/bin/jsawk
|
||||
if command -v js68 > /dev/null 2>&1 ; then
|
||||
sed -i '/JSBIN=/s/-js/-js68/' $PKG/usr/bin/jsawk
|
||||
fi
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
Loading…
Reference in a new issue