Package Details: fzf-git 2:0.28.0.r2.g205f885-1

Git Clone URL: https://aur.archlinux.org/fzf-git.git (read-only, click to copy)
Package Base: fzf-git
Description: Command-line fuzzy finder
Upstream URL: https://github.com/junegunn/fzf
Licenses: MIT
Conflicts: fzf
Provides: fzf
Submitter: atweiden
Maintainer: haawda
Last Packager: haawda
Votes: 8
Popularity: 0.000006
First Submitted: 2015-12-10 04:23 (UTC)
Last Updated: 2021-11-19 17:38 (UTC)

Dependencies (8)

Required by (133)

Sources (2)

Latest Comments

AkechiShiro commented on 2021-06-08 14:36 (UTC)

Haawda, I've tried so far, in chronological order :

  • Running in the shell : sudo aura -Axc fzf-git
  • Downloading a snapshot and run makepkg PKGBUILD on the shell.

Both fails in the same way, I do not do anything weird or so I think.

haawda commented on 2021-06-08 12:21 (UTC)

AkechiShiro, what are you doing? The PKGBUILD does not try to run ./install anywhere.

AkechiShiro commented on 2021-06-06 17:26 (UTC)

I'm hitting this error whilst building not sure why but the install command being used during the building incorrect, I know that the install command has the option -Dm however the one used in the build environment doesn't look like it has this :

  -> Installing documentation...
unknown option: -Dm
usage: ./install [OPTIONS]

    --help               Show this message
    --bin                Download fzf binary only; Do not generate ~/.fzf.{bash,zsh}
    --all                Download fzf binary and update configuration files
                         to enable key bindings and fuzzy completion
    --xdg                Generate files under $XDG_CONFIG_HOME/fzf
    --[no-]key-bindings  Enable/disable key bindings (CTRL-T, CTRL-R, ALT-C)
    --[no-]completion    Enable/disable fuzzy completion (bash & zsh)
    --[no-]update-rc     Whether or not to update shell configuration files

    --no-bash            Do not set up bash configuration
    --no-zsh             Do not set up zsh configuration
    --no-fish            Do not set up fish configuration
==> ERROR: A failure occurred in package().
    Aborting...

ixil commented on 2019-09-12 04:02 (UTC)

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 (UTC)

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 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,12 +3,12 @@ # Contributor: jebaum <jebaum at ucla dot edu> pkgname=fzf-git -pkgver=20171027 +pkgver=20171029 pkgrel=1 pkgdesc="Command-line fuzzy finder" arch=('armv6h' 'armv7h' 'i686' 'x86_64') depends=('ncurses') -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/github.com/junegunn + [[ -L src/github.com/junegunn/fzf ]] || ln -s ../../../fzf src/github.com/junegunn/fzf + GOPATH="$PWD" + cd "src/github.com/junegunn/${pkgname%-git}" msg2 'Building...' - GOPATH="$srcdir" TMPDIR=/tmp go get -u github.com/junegunn/fzf/... + 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...' ```