blob: 81d244d2cbf9c3024e3e8a9bf007edabec16d97f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
pkgname=neovim-lspconfig-git
pkgdesc="Quickstart configurations for the Neovim LSP client"
pkgver=2.8.0.r10.g8a9378a8
pkgrel=1
arch=('any')
url="https://github.com/neovim/nvim-lspconfig"
license=('Apache-2.0')
groups=('neovim-plugins')
makedepends=('git')
source=("git+https://github.com/neovim/nvim-lspconfig.git")
sha512sums=('SKIP')
pkgver() {
cd nvim-lspconfig
git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
}
package() {
depends=('neovim')
cd nvim-lspconfig
local dirs=(lua plugin doc lsp)
find "${dirs[@]}" -type f -exec install -D -m644 '{}' "$pkgdir/usr/share/nvim/site/pack/dist/start/${pkgname}/{}" \;
install -D -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}
|