summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBert Peters2021-04-17 14:59:04 +0200
committerBert Peters2021-04-17 14:59:04 +0200
commitd94eefc1a14868ede3d11e2a83541a235e2c8184 (patch)
tree5c439363e2cdeac70b3fd32045f26b857649b254 /PKGBUILD
parentb46d40ac821a4dfbf0814a7a3a230cced8d25c52 (diff)
downloadaur-nodejs-node-pre-gyp.tar.gz
Don't install the "root" package anymore
Related to https://bugs.archlinux.org/task/70134
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9c8bb626891..35ea9b26eac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_npmname=node-pre-gyp
pkgname=nodejs-node-pre-gyp
pkgver=0.17.0
-pkgrel=1
+pkgrel=2
pkgdesc="Node.js tool for easy binary deployment of C++ addons "
arch=('any')
url="https://github.com/mapbox/node-pre-gyp"
@@ -14,7 +14,7 @@ noextract=("$_npmname-$pkgver.tgz")
sha1sums=('5af3f7b4c3848b5ed00edc3d298ff836daae5f1d')
package() {
- npm install -g --user root --prefix "$pkgdir/usr" "$_npmname-$pkgver.tgz"
+ npm install -g --prefix "$pkgdir/usr" "$_npmname-$pkgver.tgz"
# Remove references to $pkgdir
find "$pkgdir" -type f -name package.json -print0 | xargs -0 sed -i "/_where/d"