blob: 82fc660cabcdb323eb5e2745b71e33ebc6e45a6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
pkgname=completion-nvim
pkgver=87b0f86
pkgrel=1
pkgdesc='A async completion framework aims to provide completion to neovim.'
arch=('any')
url=https://github.com/nvim-lua/completion-nvim
license=('Apache')
groups=('neovim-plugins')
depends=('neovim' 'lua')
makedepends=('git')
optdepends=('neovim-plug: for plugin manager')
source=("git+${url}")
sha256sums=('SKIP')
package(){
cd "${srcdir}/completion-nvim"
mkdir -p "${pkgdir}/usr/share/nvim/runtime"
install -Dm644 "plugin/completion.vim" "${pkgdir}/usr/share/nvim/runtime/plugin/completion.vim"
cp -a lua "${pkgdir}/usr/share/nvim/runtime/"
}
pkgver(){
cd "${srcdir}/completion-nvim"
git rev-parse --short HEAD
}
|