aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-06-18 15:06:36 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-02 09:55:37 +0700
commiteed79aedd898af50adbd3809febd5fe5d289f621 (patch)
tree3f949aad96671166cdbcade6894748eceb26928d
parentbad24eb7b0601c609043cf393fa4cf314a17be8f (diff)
libraries/node-xoauth2: Fix build with latest node on sbo.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/node-xoauth2/node-xoauth2.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/libraries/node-xoauth2/node-xoauth2.SlackBuild b/libraries/node-xoauth2/node-xoauth2.SlackBuild
index 7335e619141e..589e7268aad6 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