| 1 | # Contributor: Maxim Karasev <[email protected]> |
| 2 | # Maintainer: |
| 3 | pkgname=nvim-cmp |
| 4 | pkgver=0.0.0_git20221011 |
| 5 | _commit=714ccb7483d0ab90de1b93914f3afad1de8da24a |
| 6 | pkgrel=1 |
| 7 | pkgdesc="completion plugin for neovim" |
| 8 | url="https://github.com/hrsh7th/nvim-cmp" |
| 9 | arch="noarch" |
| 10 | license="MIT" |
| 11 | subpackages="$pkgname-doc" |
| 12 | depends="neovim" |
| 13 | source="https://github.com/hrsh7th/nvim-cmp/archive/$_commit/nvim-cmp-$pkgver.tar.gz" |
| 14 | builddir="$srcdir/nvim-cmp-$_commit" |
| 15 | options="!check" # requires vusted |
| 16 | |
| 17 | package() { |
| 18 | install -d "$pkgdir"/usr/share/nvim/site |
| 19 | cp -ra lua autoload doc plugin utils "$pkgdir"/usr/share/nvim/site |
| 20 | install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md |
| 21 | } |
| 22 | |
| 23 | doc() { |
| 24 | default_doc |
| 25 | amove usr/share/nvim/site/doc |
| 26 | } |
| 27 | |
| 28 | sha512sums=" |
| 29 | f17bbe91aee091b53bd5e7b2702f44eaf0ab296de10cdfbcceeb861235d4eb2beb40a4f1cb549d25ffbe9b8e65b62010aaf9b36a2c62dabdc4c8373e9ed0ec5e nvim-cmp-0.0.0_git20221011.tar.gz |
| 30 | " |