[arch-commits] Commit in fzf/trunk (PKGBUILD fzf.install)

Sven-Hendrik Haase svenstaro at archlinux.org
Tue May 3 21:24:24 UTC 2016


    Date: Tuesday, May 3, 2016 @ 23:24:24
  Author: svenstaro
Revision: 173605

upgpkg: fzf 0.12.0-2

Change fzf paths to better location

Modified:
  fzf/trunk/PKGBUILD
  fzf/trunk/fzf.install

-------------+
 PKGBUILD    |    6 +++---
 fzf.install |   10 +++++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-03 21:15:21 UTC (rev 173604)
+++ PKGBUILD	2016-05-03 21:24:24 UTC (rev 173605)
@@ -5,7 +5,7 @@
 
 pkgname=fzf
 pkgver=0.12.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Command-line fuzzy finder"
 arch=("i686" "x86_64")
 url="https://github.com/junegunn/fzf"
@@ -62,7 +62,7 @@
 
 	## Bash completion and keybindings
 	install -Dm644 "shell/completion.bash" "$pkgdir/usr/share/bash-completion/completions/fzf"
-	install -Dm755 "shell/key-bindings.bash" "$pkgdir/etc/profile.d/fzf.bash"
+	install -Dm755 "shell/key-bindings.bash" "$pkgdir/usr/share/fzf/fzf.bash"
 
 	## Fish keybindings
 	install -Dm644 "shell/key-bindings.fish" "$pkgdir/usr/share/fish/functions/fzf.fish"
@@ -69,5 +69,5 @@
 
 	## Zsh completion and keybindings
 	install -Dm644 "shell/completion.zsh" "$pkgdir/usr/share/zsh/site-functions/_fzf"
-	install -Dm755 "shell/key-bindings.zsh" "$pkgdir/etc/profile.d/fzf.zsh"
+	install -Dm755 "shell/key-bindings.zsh" "$pkgdir/usr/share/fzf/fzf.zsh"
 }

Modified: fzf.install
===================================================================
--- fzf.install	2016-05-03 21:15:21 UTC (rev 173604)
+++ fzf.install	2016-05-03 21:24:24 UTC (rev 173605)
@@ -8,15 +8,15 @@
 
 Optional fzf keybindings for bash have been placed here:
 
-    /etc/profile.d/fzf.bash
+    /usr/share/fzf
 
 To utilize, add the following to your bash config:
 
-    . /etc/profile.d/fzf.bash
+    . /usr/share/fzf/fzf.bash
 
 Or for zsh, add the following to your config:
 
-    . /etc/profile.d/fzf.zsh
+    . /usr/share/fzf/fzf.zsh
 
 For fish, keybindings are in
 
@@ -24,3 +24,7 @@
 
 Fish will source this by default.
 EOF
+
+post_upgrade() {
+  echo "The keybindings have been moved to /usr/share/fzf"
+}



More information about the arch-commits mailing list