Browse Source

d/nodejs: Upgraded to nodejs-12.18.1.

current-20200608
Damien Goutte-Gattat 11 months ago
parent
commit
ac9b9a8577
  1. 19
      d/nodejs/doinst.sh
  2. 1
      d/nodejs/node-v12.16.0.tar.gz.sha256
  3. 1
      d/nodejs/node-v12.18.1.tar.gz.sha256
  4. 6
      d/nodejs/nodejs.SlackBuild

19
d/nodejs/doinst.sh

@ -1,19 +0,0 @@
#!/bin/sh
config()
{
NEW="$1"
OLD="`dirname $NEW`/`basename $NEW .new`"
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then
rm $NEW
fi
}
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database ./usr/share/mime >/dev/null 2>&1
fi

1
d/nodejs/node-v12.16.0.tar.gz.sha256

@ -1 +0,0 @@
ae2dfe74485d821d4fef7cf1802acd2322cd994c853a2327c4306952f4453441 node-v12.16.0.tar.gz

1
d/nodejs/node-v12.18.1.tar.gz.sha256

@ -0,0 +1 @@
be532894112d06e671cb3d9388e2a3fa2c690d40bdfa9e432921a9e078b3f241 node-v12.18.1.tar.gz

6
d/nodejs/nodejs.SlackBuild

@ -26,7 +26,7 @@
# Source package infos
NAMESRC=${NAMESRC:-node}
VERSION=${VERSION:-12.16.0}
VERSION=${VERSION:-12.18.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-v$VERSION.tar.gz}
WGET=${WGET:-https://nodejs.org/dist/v$VERSION/$NAMESRC-v$VERSION.tar.gz}
@ -120,8 +120,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 AUTHORS BUILDING.md CHANGELOG.md CODE_OF_CONDUCT.md \
COLLABORATOR_GUIDE.md CONTRIBUTING.md CPP_STYLE_GUIDE.md GOVERNANCE.md \
LICENSE README.md SECURITY.md $PKG/usr/doc/$NAMEPKG-$VERSION
CONTRIBUTING.md GOVERNANCE.md LICENSE README.md SECURITY.md \
$PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save