aports/testing/nvim-cmp/APKBUILD

30 lines
904 B
Text

# Contributor: Maxim Karasev <mxkrsv@disroot.org>
# Maintainer:
pkgname=nvim-cmp
pkgver=0.0.0_git20221011
_commit=714ccb7483d0ab90de1b93914f3afad1de8da24a
pkgrel=1
pkgdesc="completion plugin for neovim"
url="https://github.com/hrsh7th/nvim-cmp"
arch="noarch"
license="MIT"
subpackages="$pkgname-doc"
depends="neovim"
source="https://github.com/hrsh7th/nvim-cmp/archive/$_commit/nvim-cmp-$pkgver.tar.gz"
builddir="$srcdir/nvim-cmp-$_commit"
options="!check" # requires vusted
package() {
install -d "$pkgdir"/usr/share/nvim/site
cp -ra lua autoload doc plugin utils "$pkgdir"/usr/share/nvim/site
install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
}
doc() {
default_doc
amove usr/share/nvim/site/doc
}
sha512sums="
f17bbe91aee091b53bd5e7b2702f44eaf0ab296de10cdfbcceeb861235d4eb2beb40a4f1cb549d25ffbe9b8e65b62010aaf9b36a2c62dabdc4c8373e9ed0ec5e nvim-cmp-0.0.0_git20221011.tar.gz
"