Date: Thursday, February 27, 2020 @ 09:09:47 Author: ffy00 Revision: 583694
archrelease: copy trunk to community-staging-x86_64 Added: fzf/repos/community-staging-x86_64/ fzf/repos/community-staging-x86_64/PKGBUILD (from rev 583693, fzf/trunk/PKGBUILD) ----------+ PKGBUILD | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) Copied: fzf/repos/community-staging-x86_64/PKGBUILD (from rev 583693, fzf/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-27 09:09:47 UTC (rev 583694) @@ -0,0 +1,62 @@ +# Maintainer: Thore Bödecker <fox...@archlinux.org> +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> +# Contributor: Pierre Neidhardt <ambre...@gmail.com> +# Contributor: Hermann Zahnweh (eigengrau) +# Contributor: Andy Weidenbaum <archb...@gmail.com> +# Contributor: foalsrock <foalsrock at gmail dot-com> +# Contributor: jebaum <jebaum at ucla dot edu> + +pkgname=fzf +pkgver=0.20.0 +pkgrel=2 +pkgdesc='Command-line fuzzy finder' +arch=('x86_64') +url='https://github.com/junegunn/fzf' +license=('MIT') +depends=('bash') +makedepends=('git' 'go-pie') +optdepends=('fish: fish keybindings' + 'tmux: fzf-tmux script for launching fzf in a tmux pane' + 'vim: plugin' + 'zsh: zsh keybindings') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" + "git+$url.wiki") +sha512sums=('a65294d29c59353d17468a919878f965934540eea27441292a7219aea7509c18ea31ed1d58453f890a43026e4ae58946e0122d49475e734bd9354a0e520d99e7' + 'SKIP') + +build() { + cd $pkgname-$pkgver + + go build -o fzf . +} + +package() { + cd $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 "$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 fzf bin/fzf-tmux "$pkgdir"/usr/bin/ + + ## Completion and keybindings + install -dm755 "$pkgdir"/usr/share/fzf + install -m644 shell/*.bash shell/*.zsh "$pkgdir"/usr/share/fzf + + ## Fish keybindings + install -Dm644 shell/key-bindings.fish "$pkgdir"/usr/share/fish/functions/fzf_key_bindings.fish + + ## Vim plugin + install -Dm644 plugin/fzf.vim "$pkgdir"/usr/share/vim/vimfiles/plugin/fzf.vim +} +