mirror of
https://github.com/luzifer-aur/vercel.git
synced 2024-11-08 13:50:07 +00:00
Remove --user root
Seems to not be working as expected according to https://bugs.archlinux.org/task/70134
This commit is contained in:
parent
a37809b9b4
commit
2b91d844b7
2 changed files with 3 additions and 3 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
|||
pkgbase = vercel
|
||||
pkgdesc = The command line interface for Vercel
|
||||
pkgver = 21.3.3
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://github.com/vercel/vercel
|
||||
arch = any
|
||||
license = MIT
|
||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -1,6 +1,6 @@
|
|||
pkgname=vercel
|
||||
pkgver=21.3.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="The command line interface for Vercel"
|
||||
arch=(any)
|
||||
url="https://github.com/vercel/vercel"
|
||||
|
@ -14,7 +14,7 @@ sha256sums=('e2b0d36af7ca06839075a2a8eda6b15087ae9fa9a76c073bfeaeebe4e1e0c71f')
|
|||
# For more info about this package see:
|
||||
# https://wiki.archlinux.org/index.php/Node.js_package_guidelines
|
||||
package() {
|
||||
npm install -g --user root --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$pkgname-$pkgver.tgz"
|
||||
npm install -g --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$pkgname-$pkgver.tgz"
|
||||
|
||||
# Fix permissions
|
||||
find "$pkgdir"/usr -type d -exec chmod 755 {} +
|
||||
|
|
Loading…
Reference in a new issue