bash-language-server: initial commit, version 1.17.0

This commit is contained in:
Tim Biermann 2021-07-02 22:28:22 +00:00
parent 9f410cf08f
commit 126128a6c4
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 3373 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3+i5ZhEYboVWgNge0oQilJorVbEXZZpGIdY+//aDsSQaxuPsx6Ic81daMCx9bDr8hfOWqxI5+jzEy3RblHAAww0=
SHA256 (Pkgfile) = 835886372e40469774c27340f1f604e46d26e41c32caf3099eab6376d7961b15
SHA256 (.footprint) = 303d261305cca4d15011403fd3efdcf1714c27979c2b03d7d35e995ce3a14bc0
SHA256 (bash-language-server-1.17.0.tar.gz) = 9a1d11500577df2c80e6525df0687d3dc67f027177467c3ee2eeec19d1e6c097

View File

@ -0,0 +1,30 @@
# Description: A language server for Bash
# URL: https://github.com/bash-lsp/bash-language-server
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: acorn typescript yarn
name=bash-language-server
version=1.17.0
release=2
source=(https://github.com/bash-lsp/bash-language-server/archive/server-$version/$name-$version.tar.gz)
build() {
cd $name-server-$version
yarn
yarn run compile
install -d $PKG/usr/lib/$name
cp -a server/* $PKG/usr/lib/$name
install -d $PKG/usr/bin
ln -s /usr/lib/$name/bin/main.js $PKG/usr/bin/$name
find $PKG \(\
-iname "*README.md*" -o \
-iname "*README.markdown*" -o \
-iname "*CHANGELOG.md*" -o \
-iname "*AUTHORS*" -o \
-iname "*ChangeLog*" -o \
-iname "*README_js.md*" -o \
-iname "*COPYING*" -o \
-iname "*LICENSE*" \) -delete
}