# Contributor: Maxim Karasev # Maintainer: Dhruvin Gandhi pkgname=nvim-lspconfig pkgver=0.1.8 pkgrel=1 pkgdesc="quickstart configurations for the neovim LSP client" url="https://github.com/neovim/nvim-lspconfig" arch="noarch" license="Apache-2.0" subpackages="$pkgname-doc" source="https://github.com/neovim/nvim-lspconfig/archive/refs/tags/v$pkgver/nvim-lspconfig-$pkgver.tar.gz" depends="neovim" options="!check" # requires vusted build() { nvim -u NONE -i NONE -e --headless -c "helptags doc" -c quit } package() { local plgdir="$pkgdir"/usr/share/nvim/site/pack/dist/opt/$pkgname install -d "$plgdir" cp -a lua plugin "$plgdir" install -Dm644 doc/*.txt doc/tags -t "$plgdir"/doc install -Dm644 doc/*.md README.md -t "$pkgdir"/usr/share/doc/$pkgname } doc() { default_doc amove usr/share/nvim/site/pack/dist/opt/$pkgname/doc } sha512sums=" e22139359f63d68659ac6c93891bd24612ad759f99ad95482c0f12d8cef5f2062bb26a76f8515c02f1f3ea94b421cadd25dd7ce802a2fe7bbc6642aee60174a7 nvim-lspconfig-0.1.8.tar.gz "