blob: 423669793c178f855028163d78474cdcacc231d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
pkgname=neovim-cmp-rg
pkgver=1.3.8
pkgrel=1
pkgdesc="ripgrep source for neovim-cmp"
arch=('any')
url="https://github.com/lukas-reineke/cmp-rg"
license=('MIT')
groups=('neovim-plugins')
depends=('neovim-cmp' 'ripgrep')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('8ae9379af7aaa577f668f4894a20522e986ef6064df48e91453517616ab2468d')
package() {
cd "cmp-rg-$pkgver"
find after doc lua \
-type f \
-exec install -Dm644 '{}' "$pkgdir/usr/share/nvim/runtime/{}" \;
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}
|