blob: 7bffcc73123a04fcf82f143fb76d35d6e2ec8e10 (
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
29
30
31
32
33
34
35
36
37
38
39
|
pkgname=neovim-cmp-nvim-lsp-git
pkgver=r37.5af77f5
pkgrel=1
pkgdesc="neovim-cmp source for Neovim's builtin LSP client"
arch=('any')
url="https://github.com/hrsh7th/cmp-nvim-lsp"
license=('MIT')
groups=(
'neovim-plugins'
)
makedepends=(
'git'
)
source=(
"git+https://github.com/hrsh7th/cmp-nvim-lsp.git"
)
sha512sums=(
'SKIP'
)
pkgver() {
cd cmp-nvim-lsp
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
depends+=(
'neovim'
)
cd cmp-nvim-lsp
find after lua doc -type f -exec install -D -m644 '{}' "$pkgdir/usr/share/nvim/site/pack/dist/start/${pkgname}/{}" \;
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}
|