summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrew Noel2021-04-14 09:39:12 -0400
committerDrew Noel2021-04-14 09:39:12 -0400
commitddb2496c7c0b478e173107120a26e5e025240b89 (patch)
tree28cd735f8bcfdca29250f5ea87d0a68f073aa41d
parent476bd93a222bf3bceaaa2552637b7e39a63a0cbd (diff)
downloadaur-ddb2496c7c0b478e173107120a26e5e025240b89.tar.gz
Remove extra --user root
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7b1fd483cf1..9826eae55fc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nodejs-nativefier
pkgdesc = Wrap web apps natively
pkgver = 43.0.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/nativefier/nativefier#readme
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 7f56cb1ef5e..f84fe087fe8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@ _npmname=nativefier
_npmver=43.0.1
pkgname=nodejs-nativefier
pkgver=$_npmver
-pkgrel=1
+pkgrel=2
pkgdesc="Wrap web apps natively"
arch=(any)
url="https://github.com/nativefier/nativefier#readme"
@@ -16,7 +16,7 @@ noextract=("$_npmname-$_npmver.tgz")
package() {
# Thanks jeremejevs and je-vv for the pointers on these!
- npm install -g --user root --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$_npmname-$pkgver.tgz"
+ npm install -g --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$_npmname-$pkgver.tgz"
# Fix permissions
find "$pkgdir"/usr -type d -exec chmod 755 {} +