summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGitHub Action2021-06-19 14:03:00 +0000
committerGitHub Action2021-06-19 14:03:00 +0000
commitbef68530795ee50357701ee20ddac263ba471a23 (patch)
treee74376a3d337a1087fcb2fcd741ff4719b90fba6 /PKGBUILD
parent5e65420ce3672b7a0a2cfc54dc8d0727e0b293ab (diff)
downloadaur-bef68530795ee50357701ee20ddac263ba471a23.tar.gz
Update from GitHub Actions: vscode-css-languageserver-bin: update to 1.4.0-4
https://github.com/ouuan/AUR-packages/actions/runs/952575897
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}"
}