summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGitHub Action2021-07-16 12:02:44 +0000
committerGitHub Action2021-07-16 12:02:44 +0000
commit334373fb41e5cffc83b50f940308ed07f507cb9a (patch)
treef6444ca62357ccc616767be4eedacb953fc63cbd /PKGBUILD
parentbef68530795ee50357701ee20ddac263ba471a23 (diff)
downloadaur-vscode-css-languageserver-bin.tar.gz
Update from GitHub Actions: vscode-css-languageserver-bin: update to 1.4.0-5
https://github.com/ouuan/AUR-packages/actions/runs/1037370416
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5ae05ebd4bc..28a00f23443 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_npmname=vscode-css-languageserver-bin
pkgname=vscode-css-languageserver-bin
pkgver=1.4.0
-pkgrel=4
+pkgrel=5
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'
@@ -16,11 +16,11 @@ sha256sums=('daa006f74a6baa265e743811bf224003048144c805bc3a9dd3f8175d4815bced')
noextract=("${_npmname}-${pkgver}.tgz")
package() {
- cd "${srcdir}"
- local _npmdir="${pkgdir}/usr/lib/node_modules/"
- mkdir -p "${_npmdir}"
- cd "${_npmdir}"
- npm install -g --prefix "${pkgdir}/usr" "${_npmname}@${_npmver}"
+ cd "$srcdir"
+ local _npmdir="$pkgdir/usr/lib/node_modules/"
+ mkdir -p "$_npmdir"
+ cd "$_npmdir"
+ npm install -g --prefix "$pkgdir/usr" "$srcdir/$_npmname-$pkgver.tgz"
install -Dm644 "$_npmdir/$_npmname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
chown -R root:root "${pkgdir}"
}