development/nodejs: Updated for version 19.8.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2023-03-17 07:07:19 +07:00
parent 23a547b45c
commit 5667c9a25d
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 6 additions and 6 deletions

View file

@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nodejs PRGNAM=nodejs
SRCNAM=node SRCNAM=node
VERSION=${VERSION:-19.7.0} VERSION=${VERSION:-19.8.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -70,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $SRCNAM-v$VERSION rm -rf $SRCNAM-v$VERSION
tar xvf $CWD/$SRCNAM-v$VERSION.tar.xz tar xvf $CWD/$SRCNAM-v$VERSION.tar.gz
cd $SRCNAM-v$VERSION cd $SRCNAM-v$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
@ -109,7 +109,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
install -D -m 644 $CWD/npm.sh $PKG/usr/share/bash-completion/completions/npm install -D -m 644 $CWD/npm.sh $PKG/usr/share/bash-completion/completions/npm
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="nodejs" PRGNAM="nodejs"
VERSION="19.7.0" VERSION="19.8.1"
HOMEPAGE="https://nodejs.org/" HOMEPAGE="https://nodejs.org/"
DOWNLOAD="https://nodejs.org/dist/v19.7.0/node-v19.7.0.tar.xz" DOWNLOAD="https://nodejs.org/dist/v19.8.1/node-v19.8.1.tar.gz"
MD5SUM="22c80a3e397fb72f194490c1dcd9f3d5" MD5SUM="a5cab621faf2453f8a7ebbc764080bb0"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""