blob: 19441bd9d0b8a1e8e4f47f94ff0325255e5b7896 (
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
|
# Maintainer: HelloImWar <helloimwar at proton dot me>
pkgname=neovim-lspkind-git
_pkgname="${pkgname%-git}"
pkgver=r61.gc68b3a0
pkgrel=1
pkgdesc="vscode-like pictograms for neovim lsp completion items"
arch=('any')
url="https://github.com/onsails/lspkind.nvim"
license=('MIT')
groups=('neovim-plugins')
depends=('neovim')
optdepends=(
'neovim-cmp')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
echo r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)
}
package() {
cd "$pkgname"
find lua \
-type f \
-exec install -Dm644 '{}' "$pkgdir/usr/share/nvim/runtime/pack/dist/start/$pkgname/{}" \;
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}
|