blob: 9f8429cb1e9dcd230f9a5769e407461ad4e64173 (
plain)
1 # Description: General purpose Language Server that integrate with linter to support diagnostic features
2 # URL: https://www.npmjs.com/package/diagnostic-languageserver
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: npm yarn
5
6 name=diagnostic-languageserver
7 version=1.13.0
8 release=1
9 source=(https://registry.npmjs.org/$name/-/$name-$version.tgz)
10
11 build() {
12 npm install -g \
13 --user root \
14 --prefix $PKG/usr \
15 $PKGMK_SOURCE_DIR/$name-$version.tgz
16 find $PKG/usr -type d -exec chmod 755 {} +
17 find $PKG/usr \(\
18 -iname "*README.md*" -o \
19 -iname "*README.markdown*" -o \
20 -iname "*CHANGELOG.md*" -o \
21 -iname "*LICENSE*" \) -delete
22 }
|