aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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