summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChris Nixon2019-05-14 10:31:31 +0100
committerChris Nixon2019-05-14 10:31:31 +0100
commitbfe255b8ad9e49776908684b3b701c8a740fd309 (patch)
tree755d43b358e0de2920d34400f8116f1a2db02823 /PKGBUILD
parenta71a9c6a741aa2fd70fef890fa597a5af0cd0b5c (diff)
downloadaur-ripgrep-git.tar.gz
Fish packages rg completions, remove our copy and add fish as optdepend
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 97e5b0a23f9..624363b7bc5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Chris Nixon <chris.nixon@sigma.me.uk>
pkgname=ripgrep-git
-pkgver=0.10.0.r72.049354b
+pkgver=11.0.1.r8.5ce2d73
pkgrel=1
pkgdesc="A search tool that combines the usability of The Silver Searcher with the raw speed of grep."
arch=('i686' 'x86_64')
@@ -8,6 +8,7 @@ url="https://github.com/BurntSushi/ripgrep"
license=('UNLICENSE' 'MIT')
provides=("ripgrep")
makedepends=('cargo' 'git' 'asciidoc')
+optdepends=('fish: fish completions')
depends=('pcre2')
conflicts=('ripgrep')
source=("$pkgname::git+https://github.com/BurntSushi/ripgrep")
@@ -39,7 +40,6 @@ package() {
install -Dm644 "complete/_rg" "$pkgdir/usr/share/zsh/site-functions/_rg"
install -Dm644 "target/release/build/ripgrep-"*/out/rg.bash "$pkgdir/usr/share/bash-completion/completions/rg"
- install -Dm644 "target/release/build/ripgrep-"*/out/rg.fish "$pkgdir/usr/share/fish/completions/rg.fish"
install -Dm644 "target/release/build/ripgrep-"*/out/rg.1 "$pkgdir/usr/share/man/man1/rg.1"
install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md"