Package Details: fzf-git 20171027-1

Git Clone URL: https://aur.archlinux.org/fzf-git.git (read-only)
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: atweiden
Last Packager: atweiden
Votes: 3
Popularity: 0.000169
First Submitted: 2015-12-10 04:23
Last Updated: 2017-10-27 22:58

Dependencies (8)

Required by (13)

Sources (4)

Latest Comments

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
--- 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...'
```