summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7ecdfc6e30b..5ae05ebd4bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_npmname=vscode-css-languageserver-bin
pkgname=vscode-css-languageserver-bin
pkgver=1.4.0
-pkgrel=3
+pkgrel=4
pkgdesc='Binary version published on npm of vscode-css-languageserver extracted from VSCode tree'
arch=('any')
url='https://github.com/vscode-langservers/vscode-css-languageserver-bin'
@@ -20,7 +20,7 @@ package() {
local _npmdir="${pkgdir}/usr/lib/node_modules/"
mkdir -p "${_npmdir}"
cd "${_npmdir}"
- npm install --user root -g --prefix "${pkgdir}/usr" "${_npmname}@${_npmver}"
+ npm install -g --prefix "${pkgdir}/usr" "${_npmname}@${_npmver}"
install -Dm644 "$_npmdir/$_npmname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
chown -R root:root "${pkgdir}"
}