diff --git a/srcpkgs/bash-language-server/template b/srcpkgs/bash-language-server/template index ef3e8d4ed9b927..c1f41212e6f877 100644 --- a/srcpkgs/bash-language-server/template +++ b/srcpkgs/bash-language-server/template @@ -1,15 +1,15 @@ # Template file for 'bash-language-server' pkgname=bash-language-server -version=5.0.0 +version=5.6.0 revision=1 hostmakedepends="pnpm" depends="nodejs" short_desc="Bash language server" -maintainer="sirkhancision " +maintainer="Alex March " 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}