[arch-commits] Commit in ripgrep/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Mar 3 07:51:20 UTC 2017


    Date: Friday, March 3, 2017 @ 07:51:19
  Author: svenstaro
Revision: 214623

upgpkg: ripgrep 0.4.0-2

Add shell completions

Modified:
  ripgrep/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-03 07:42:56 UTC (rev 214622)
+++ PKGBUILD	2017-03-03 07:51:19 UTC (rev 214623)
@@ -2,7 +2,7 @@
 # Contributor: Andrew Gallant <jamslam at gmail.com>
 pkgname=ripgrep
 pkgver=0.4.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A search tool that combines the usability of ag with the raw speed of grep"
 arch=('i686' 'x86_64')
 url="https://github.com/BurntSushi/ripgrep"
@@ -22,6 +22,10 @@
 
   install -Dm755 "target/release/rg" "$pkgdir/usr/bin/rg"
 
+  install -Dm644 "target/release/build/ripgrep-"*/out/rg.bash-completion "$pkgdir/usr/share/bash-completion/completions/rg"
+  install -Dm644 "target/release/build/ripgrep-"*/out/_rg "$pkgdir/usr/share/zsh/site-functions/_rg"
+  install -Dm644 "target/release/build/ripgrep-"*/out/rg.fish "$pkgdir/usr/share/fish/completions/rg.fish"
+
   install -Dm644 "doc/rg.1" "$pkgdir/usr/share/man/man1/rg.1"
   install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md"
 



More information about the arch-commits mailing list