diff options
author | Luis Martinez | 2021-12-03 01:05:16 -0600 |
---|---|---|
committer | Luis Martinez | 2021-12-03 01:14:25 -0600 |
commit | 0e6a348a8a79de08cb4e026db8d4c0ce7704aec9 (patch) | |
tree | 7ea0cdc221065312927667d666cdcb67b72a1ed2 | |
download | aur-0e6a348a8a79de08cb4e026db8d4c0ce7704aec9.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c1a653d27557 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = neovim-cmp-rg + pkgdesc = ripgrep source for neovim-cmp + pkgver = 1.3.5 + pkgrel = 1 + url = https://github.com/lukas-reineke/cmp-rg + arch = any + groups = neovim-plugins + license = MIT + depends = neovim-cmp + depends = ripgrep + source = neovim-cmp-rg-1.3.5.tar.gz::https://github.com/lukas-reineke/cmp-rg/archive/v1.3.5.tar.gz + sha256sums = 81f773279e84c4a19fa76b3fd773305bcf3b128c9dbbef39ce23e00998d98c21 + +pkgname = neovim-cmp-rg diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7335873b3fbe --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Luis Martinez <luis dot martinez at disroot dot org> + +pkgname=neovim-cmp-rg +pkgver=1.3.5 +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=('81f773279e84c4a19fa76b3fd773305bcf3b128c9dbbef39ce23e00998d98c21') + +package() { + cd "$pkgname-$pkgver" + find after doc plugin \ + -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/" +} |