From eed79aedd898af50adbd3809febd5fe5d289f621 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sat, 18 Jun 2022 15:06:36 +0900 Subject: libraries/node-xoauth2: Fix build with latest node on sbo. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- libraries/node-xoauth2/node-xoauth2.SlackBuild | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'libraries') diff --git a/libraries/node-xoauth2/node-xoauth2.SlackBuild b/libraries/node-xoauth2/node-xoauth2.SlackBuild index 7335e61914..589e7268aa 100644 --- a/libraries/node-xoauth2/node-xoauth2.SlackBuild +++ b/libraries/node-xoauth2/node-xoauth2.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for node-xoauth2 # Copyright 2017 Andrew Clemons, Wellington, New Zealand +# Copyright 2022 Andrew Clemons, Tokyo, Japan # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=node-xoauth2 VERSION=${VERSION:-1.2.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -68,10 +66,6 @@ cd $TMP DESTDIR=$PKG npm install --production -g $CWD/xoauth2-$VERSION.tar.gz -if [ "$LIBDIRSUFFIX" != "" ] ; then - mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX -fi - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION ( cd $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3