Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions srcpkgs/bash-language-server/template
Original file line number Diff line number Diff line change
@@ -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 <jsantiago12tone@gmail.com>"
maintainer="Alex March <alex@hosaka.cc>"
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
Expand All @@ -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}
Expand Down