Date: Monday, January 25, 2016 @ 00:17:55 Author: ambrevar Revision: 158784
archrelease: copy trunk to community-i686, community-x86_64 Added: fzf/repos/community-i686/ fzf/repos/community-i686/PKGBUILD (from rev 158783, fzf/trunk/PKGBUILD) fzf/repos/community-i686/fzf.install (from rev 158783, fzf/trunk/fzf.install) fzf/repos/community-i686/key-bindings.bash.patch (from rev 158783, fzf/trunk/key-bindings.bash.patch) fzf/repos/community-i686/key-bindings.zsh.patch (from rev 158783, fzf/trunk/key-bindings.zsh.patch) fzf/repos/community-x86_64/ fzf/repos/community-x86_64/PKGBUILD (from rev 158783, fzf/trunk/PKGBUILD) fzf/repos/community-x86_64/fzf.install (from rev 158783, fzf/trunk/fzf.install) fzf/repos/community-x86_64/key-bindings.bash.patch (from rev 158783, fzf/trunk/key-bindings.bash.patch) fzf/repos/community-x86_64/key-bindings.zsh.patch (from rev 158783, fzf/trunk/key-bindings.zsh.patch) ------------------------------------------+ community-i686/PKGBUILD | 73 +++++++++++++++++++++++++++++ community-i686/fzf.install | 26 ++++++++++ community-i686/key-bindings.bash.patch | 11 ++++ community-i686/key-bindings.zsh.patch | 12 ++++ community-x86_64/PKGBUILD | 73 +++++++++++++++++++++++++++++ community-x86_64/fzf.install | 26 ++++++++++ community-x86_64/key-bindings.bash.patch | 11 ++++ community-x86_64/key-bindings.zsh.patch | 12 ++++ 8 files changed, 244 insertions(+) Copied: fzf/repos/community-i686/PKGBUILD (from rev 158783, fzf/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-01-24 23:17:55 UTC (rev 158784) @@ -0,0 +1,73 @@ +# Maintainer: Pierre Neidhardt <ambre...@gmail.com> +# Contributor: Andy Weidenbaum <archb...@gmail.com> +# Contributor: foalsrock <foalsrock at gmail dot-com> +# Contributor: jebaum <jebaum at ucla dot edu> + +pkgname=fzf +pkgver=0.11.2 +pkgrel=2 +pkgdesc="Command-line fuzzy finder" +arch=("i686" "x86_64") +url="https://github.com/junegunn/fzf" +license=("MIT") +depends=("ncurses") +makedepends=("git" "go") +optdepends=("fish: fish keybindings" + "fzf-extras: fzf keybindings from junegunn wiki and dotfiles" + "tmux: fzf-tmux script for launching fzf in a tmux pane" + "vim-fzf: vim plugin" + "zsh: zsh keybindings") +install="fzf.install" +source=("$pkgname-$pkgver.tar.gz::https://codeload.github.com/junegunn/$pkgname/tar.gz/$pkgver" + "git+https://github.com/junegunn/$pkgname.wiki" + "key-bindings.bash.patch" + "key-bindings.zsh.patch") +sha256sums=("5449c857e3c290069e748597182a6ab4536670dfceb4c70dfc8d73d395491ed5" + "SKIP" + "fc981d036d85d0b9a5e6ba65f84b1c0f86bcee2dabb09238e1edfa1f49a85b63" + "0b89bf1d6d372b9a8d5927e58151157d42848086a252979006b89b72242c52e6") + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + msg2 "Patching bash and zsh key bindings..." + patch -p1 < "$srcdir/key-bindings.bash.patch" + patch -p1 < "$srcdir/key-bindings.zsh.patch" +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + msg2 'Building...' + GOPATH="$srcdir" TMPDIR=/tmp go get -u github.com/junegunn/fzf/... +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + ## Doc + install -dm755 "$pkgdir/usr/share/doc/fzf/wiki" + install -m644 "$srcdir/fzf.wiki"/* "$pkgdir/usr/share/doc/fzf/wiki" + install -m644 README.md install uninstall "$pkgdir/usr/share/doc/fzf" + + ## Man page + install -Dm644 "man/man1/fzf.1" "$pkgdir/usr/share/man/man1/fzf.1" + + ## License + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/fzf/LICENSE" + + ## Binaries + install -dm755 "$pkgdir/usr/bin" + install -m755 "$srcdir/bin/fzf" "bin/fzf-tmux" "$pkgdir/usr/bin/" + + ## 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" + + ## Fish keybindings + install -Dm644 "shell/key-bindings.fish" "$pkgdir/usr/share/fish/functions/fzf.fish" + + ## 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" +} Copied: fzf/repos/community-i686/fzf.install (from rev 158783, fzf/trunk/fzf.install) =================================================================== --- community-i686/fzf.install (rev 0) +++ community-i686/fzf.install 2016-01-24 23:17:55 UTC (rev 158784) @@ -0,0 +1,26 @@ +post_install() { + printf "%b\n" "$fzfin" +} + +read -d '' fzfin <<'EOF' +fzf +=== + +Optional fzf keybindings for bash have been placed here: + + /etc/profile.d/fzf.bash + +To utilize, add the following to your bash config: + + . /etc/profile.d/fzf.bash + +Or for zsh, add the following to your config: + + . /etc/profile.d/fzf.zsh + +For fish, keybindings are in + + /usr/share/fish/functions/fzf.fish + +Fish will source this by default. +EOF Copied: fzf/repos/community-i686/key-bindings.bash.patch (from rev 158783, fzf/trunk/key-bindings.bash.patch) =================================================================== --- community-i686/key-bindings.bash.patch (rev 0) +++ community-i686/key-bindings.bash.patch 2016-01-24 23:17:55 UTC (rev 158784) @@ -0,0 +1,11 @@ +--- ./shell/key-bindings.bash 2015-10-05 07:52:39.421599247 -0700 ++++ ./shell/key-bindings.bash 2015-10-05 07:52:57.124933562 -0700 +@@ -1,3 +1,8 @@ ++# Auto-completion ++# --------------- ++[[ $- =~ i && -f /usr/share/bash-completion/completions/fzf ]] \ ++ && source /usr/share/bash-completion/completions/fzf ++ + # Key bindings + # ------------ + __fzf_select__() { Copied: fzf/repos/community-i686/key-bindings.zsh.patch (from rev 158783, fzf/trunk/key-bindings.zsh.patch) =================================================================== --- community-i686/key-bindings.zsh.patch (rev 0) +++ community-i686/key-bindings.zsh.patch 2016-01-24 23:17:55 UTC (rev 158784) @@ -0,0 +1,12 @@ +--- ./shell/key-bindings.zsh 2015-10-05 07:53:13.168267783 -0700 ++++ ./shell/key-bindings.zsh 2015-10-05 07:53:32.584935525 -0700 +@@ -1,3 +1,9 @@ ++# Auto-completion ++# --------------- ++if [[ -f /usr/share/zsh/site-functions/_fzf ]]; then ++ source /usr/share/zsh/site-functions/_fzf ++fi ++ + # Key bindings + # ------------ + if [[ $- == *i* ]]; then Copied: fzf/repos/community-x86_64/PKGBUILD (from rev 158783, fzf/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2016-01-24 23:17:55 UTC (rev 158784) @@ -0,0 +1,73 @@ +# Maintainer: Pierre Neidhardt <ambre...@gmail.com> +# Contributor: Andy Weidenbaum <archb...@gmail.com> +# Contributor: foalsrock <foalsrock at gmail dot-com> +# Contributor: jebaum <jebaum at ucla dot edu> + +pkgname=fzf +pkgver=0.11.2 +pkgrel=2 +pkgdesc="Command-line fuzzy finder" +arch=("i686" "x86_64") +url="https://github.com/junegunn/fzf" +license=("MIT") +depends=("ncurses") +makedepends=("git" "go") +optdepends=("fish: fish keybindings" + "fzf-extras: fzf keybindings from junegunn wiki and dotfiles" + "tmux: fzf-tmux script for launching fzf in a tmux pane" + "vim-fzf: vim plugin" + "zsh: zsh keybindings") +install="fzf.install" +source=("$pkgname-$pkgver.tar.gz::https://codeload.github.com/junegunn/$pkgname/tar.gz/$pkgver" + "git+https://github.com/junegunn/$pkgname.wiki" + "key-bindings.bash.patch" + "key-bindings.zsh.patch") +sha256sums=("5449c857e3c290069e748597182a6ab4536670dfceb4c70dfc8d73d395491ed5" + "SKIP" + "fc981d036d85d0b9a5e6ba65f84b1c0f86bcee2dabb09238e1edfa1f49a85b63" + "0b89bf1d6d372b9a8d5927e58151157d42848086a252979006b89b72242c52e6") + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + msg2 "Patching bash and zsh key bindings..." + patch -p1 < "$srcdir/key-bindings.bash.patch" + patch -p1 < "$srcdir/key-bindings.zsh.patch" +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + msg2 'Building...' + GOPATH="$srcdir" TMPDIR=/tmp go get -u github.com/junegunn/fzf/... +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + ## Doc + install -dm755 "$pkgdir/usr/share/doc/fzf/wiki" + install -m644 "$srcdir/fzf.wiki"/* "$pkgdir/usr/share/doc/fzf/wiki" + install -m644 README.md install uninstall "$pkgdir/usr/share/doc/fzf" + + ## Man page + install -Dm644 "man/man1/fzf.1" "$pkgdir/usr/share/man/man1/fzf.1" + + ## License + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/fzf/LICENSE" + + ## Binaries + install -dm755 "$pkgdir/usr/bin" + install -m755 "$srcdir/bin/fzf" "bin/fzf-tmux" "$pkgdir/usr/bin/" + + ## 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" + + ## Fish keybindings + install -Dm644 "shell/key-bindings.fish" "$pkgdir/usr/share/fish/functions/fzf.fish" + + ## 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" +} Copied: fzf/repos/community-x86_64/fzf.install (from rev 158783, fzf/trunk/fzf.install) =================================================================== --- community-x86_64/fzf.install (rev 0) +++ community-x86_64/fzf.install 2016-01-24 23:17:55 UTC (rev 158784) @@ -0,0 +1,26 @@ +post_install() { + printf "%b\n" "$fzfin" +} + +read -d '' fzfin <<'EOF' +fzf +=== + +Optional fzf keybindings for bash have been placed here: + + /etc/profile.d/fzf.bash + +To utilize, add the following to your bash config: + + . /etc/profile.d/fzf.bash + +Or for zsh, add the following to your config: + + . /etc/profile.d/fzf.zsh + +For fish, keybindings are in + + /usr/share/fish/functions/fzf.fish + +Fish will source this by default. +EOF Copied: fzf/repos/community-x86_64/key-bindings.bash.patch (from rev 158783, fzf/trunk/key-bindings.bash.patch) =================================================================== --- community-x86_64/key-bindings.bash.patch (rev 0) +++ community-x86_64/key-bindings.bash.patch 2016-01-24 23:17:55 UTC (rev 158784) @@ -0,0 +1,11 @@ +--- ./shell/key-bindings.bash 2015-10-05 07:52:39.421599247 -0700 ++++ ./shell/key-bindings.bash 2015-10-05 07:52:57.124933562 -0700 +@@ -1,3 +1,8 @@ ++# Auto-completion ++# --------------- ++[[ $- =~ i && -f /usr/share/bash-completion/completions/fzf ]] \ ++ && source /usr/share/bash-completion/completions/fzf ++ + # Key bindings + # ------------ + __fzf_select__() { Copied: fzf/repos/community-x86_64/key-bindings.zsh.patch (from rev 158783, fzf/trunk/key-bindings.zsh.patch) =================================================================== --- community-x86_64/key-bindings.zsh.patch (rev 0) +++ community-x86_64/key-bindings.zsh.patch 2016-01-24 23:17:55 UTC (rev 158784) @@ -0,0 +1,12 @@ +--- ./shell/key-bindings.zsh 2015-10-05 07:53:13.168267783 -0700 ++++ ./shell/key-bindings.zsh 2015-10-05 07:53:32.584935525 -0700 +@@ -1,3 +1,9 @@ ++# Auto-completion ++# --------------- ++if [[ -f /usr/share/zsh/site-functions/_fzf ]]; then ++ source /usr/share/zsh/site-functions/_fzf ++fi ++ + # Key bindings + # ------------ + if [[ $- == *i* ]]; then