Package Details: fzf-git 1:0.21.1.r24.g4ec144c-1

Git Clone URL: (read-only, click to copy)
Package Base: fzf-git
Description: Command-line fuzzy finder
Upstream URL:
Licenses: MIT
Conflicts: fzf
Provides: fzf
Submitter: atweiden
Maintainer: haawda
Last Packager: haawda
Votes: 8
Popularity: 1.09
First Submitted: 2015-12-10 04:23
Last Updated: 2020-06-22 12:13

Dependencies (8)

Required by (63)

Sources (2)

Latest Comments

ixil commented on 2019-09-12 04:02

I think the PKGBUILD should also follow the community's build and install the fzf.vim file, the vim-fzf-git depends on this.

(It's a bit of a weird setup IMO of upstream having having vim related files in the fzf repo and an dependent fzf-vim repo)

## Vim plugin
install -Dm644 plugin/fzf.vim "$pkgdir"/usr/share/vim/vimfiles/plugin/fzf.vim

mmlb commented on 2017-10-31 14:28

This PKGBUILD ignores the dependencies in the glide.lock file, the following patch remedies that:
diff --git a/PKGBUILD b/PKGBUILD
index 18bdb88..52942a4 100644
@@ -3,12 +3,12 @@
# Contributor: jebaum <jebaum at ucla dot edu>
pkgdesc="Command-line fuzzy finder"
arch=('armv6h' 'armv7h' 'i686' 'x86_64')
-makedepends=('git' 'go' 'make')
+makedepends=('git' 'go' 'glide' 'make')
optdepends=('fish: fish keybindings'
'fzf-extras: fzf keybindings from junegunn wiki and dotfiles'
'tmux: fzf-tmux script for launching fzf in a tmux pane'
@@ -45,10 +45,14 @@ prepare() {
build() {
- cd ${pkgname%-git}
+ mkdir -p src/
+ [[ -L src/ ]] || ln -s ../../../fzf src/
+ cd "src/${pkgname%-git}"
msg2 'Building...'
- GOPATH="$srcdir" TMPDIR=/tmp go get -u
+ GOPATH="$GOPATH" glide install
+ go build
package() {
@@ -68,7 +72,7 @@ package() {
install -Dm 644 "man/man1/fzf-tmux.1" -t "$pkgdir/usr/share/man/man1"
msg2 'Installing executables...'
- install -Dm 755 "$srcdir/bin/fzf" -t "$pkgdir/usr/bin"
+ install -Dm 755 "fzf" -t "$pkgdir/usr/bin"
install -Dm 755 "bin/fzf-tmux" -t "$pkgdir/usr/bin"
msg2 'Installing bash completion and keybindings...'