summaryrefslogtreecommitdiff
path: root/development/nodejs/nodejs.SlackBuild
diff options
context:
space:
mode:
authorEduard Rozenberg <edrozenberg@gmail.com>2019-03-13 07:42:12 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-03-16 06:53:22 +0700
commit89b940dc25938ae48bf02be10a949df47d9ab821 (patch)
treebb20abd6916529b25cdd6ef4cf032cb7edbb1bf8 /development/nodejs/nodejs.SlackBuild
parenteb4e6478d49d16b88eff245398006763e537a699 (diff)
downloadslackbuilds-89b940dc25938ae48bf02be10a949df47d9ab821.tar.gz
development/nodejs: Fix some file paths.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/nodejs/nodejs.SlackBuild')
-rw-r--r--development/nodejs/nodejs.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/development/nodejs/nodejs.SlackBuild b/development/nodejs/nodejs.SlackBuild
index 467a567464..70fd7ea7a0 100644
--- a/development/nodejs/nodejs.SlackBuild
+++ b/development/nodejs/nodejs.SlackBuild
@@ -114,6 +114,10 @@ export NODE_PATH=/usr/lib${LIBDIRSUFFIX}/node_modules
EOF
chmod 0755 $PKG/etc/profile.d/*
+# Fix some files path
+mv $PKG/usr/doc/node $PKG/usr/share/nodejs
+mv $PKG/usr/systemtap $PKG/usr/share/systemtap
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild