bash-language-server: update to 5.6.0.
This commit is contained in:
committed by
Duncan Overbruck
parent
6c6747546b
commit
107d5ea540
@@ -1,6 +1,6 @@
|
||||
# Template file for 'bash-language-server'
|
||||
pkgname=bash-language-server
|
||||
version=5.0.0
|
||||
version=5.6.0
|
||||
revision=1
|
||||
hostmakedepends="pnpm"
|
||||
depends="nodejs"
|
||||
@@ -9,7 +9,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/bash-lsp/bash-language-server"
|
||||
distfiles="https://github.com/bash-lsp/bash-language-server/archive/refs/tags/server-${version}.tar.gz"
|
||||
checksum=ef8d104591cfcddf85da14af9585d8f0ab97f12e158df67ab50900f7342e353a
|
||||
checksum=54025af2243bcb7a08300662ad919847c084abfa1913dee2151b2ff7ca0cf8c9
|
||||
|
||||
do_build() {
|
||||
pnpm install --frozen-lockfile
|
||||
@@ -21,10 +21,13 @@ do_install() {
|
||||
cd server
|
||||
|
||||
rm -r node_modules
|
||||
npm install --production
|
||||
npm install --omit=dev
|
||||
|
||||
vmkdir ${TARGET_PATH}
|
||||
vcopy * ${TARGET_PATH}
|
||||
vcopy node_modules ${TARGET_PATH}
|
||||
vcopy out ${TARGET_PATH}
|
||||
vcopy package.json ${TARGET_PATH}
|
||||
vcopy tree-sitter-bash.wasm ${TARGET_PATH}
|
||||
|
||||
vmkdir usr/bin
|
||||
ln -sf /${TARGET_PATH}/out/cli.js ${DESTDIR}/usr/bin/${pkgname}
|
||||
|
||||
Reference in New Issue
Block a user