summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Nixon2019-05-14 10:31:31 +0100
committerChris Nixon2019-05-14 10:31:31 +0100
commitbfe255b8ad9e49776908684b3b701c8a740fd309 (patch)
tree755d43b358e0de2920d34400f8116f1a2db02823
parenta71a9c6a741aa2fd70fef890fa597a5af0cd0b5c (diff)
downloadaur-bfe255b8ad9e49776908684b3b701c8a740fd309.tar.gz
Fish packages rg completions, remove our copy and add fish as optdepend
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7c4a6717f41d..669c800b4fdd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ripgrep-git
pkgdesc = A search tool that combines the usability of The Silver Searcher with the raw speed of grep.
- pkgver = 0.8.1.r30.34abed5
+ pkgver = 11.0.1.r8.5ce2d73
pkgrel = 1
url = https://github.com/BurntSushi/ripgrep
arch = i686
@@ -11,6 +11,7 @@ pkgbase = ripgrep-git
makedepends = git
makedepends = asciidoc
depends = pcre2
+ optdepends = fish: fish completions
provides = ripgrep
conflicts = ripgrep
source = ripgrep-git::git+https://github.com/BurntSushi/ripgrep
diff --git a/PKGBUILD b/PKGBUILD
index 97e5b0a23f9a..624363b7bc58 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"