void-packages/srcpkgs/fzf/template

35 lines
1 KiB
Bash
Raw Normal View History

2015-04-17 21:44:53 +00:00
# Template file for 'fzf'
pkgname=fzf
version=0.10.8
2015-08-20 06:54:17 +00:00
revision=1
2015-04-17 21:44:53 +00:00
build_style=go
go_import_path="github.com/junegunn/fzf/src"
go_package="github.com/junegunn/fzf/src/fzf"
maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends=git
makedepends=ncurses-devel
license="MIT"
homepage="https://github.com/junegunn/fzf"
short_desc="A command-line fuzzy finder"
distfiles="https://github.com/junegunn/fzf/archive/${version}.tar.gz"
checksum=95ba7d39a311609f69d63bc2272f97aec92c974fe5a9560a4a0730b95828e4f4
2015-04-17 21:44:53 +00:00
pre_build() {
cd src
}
2015-04-17 21:44:53 +00:00
post_install() {
cd ${wrksrc}
2015-04-17 21:44:53 +00:00
vbin bin/fzf-tmux
vman man/man1/fzf.1
vlicense LICENSE
2015-04-17 21:44:53 +00:00
sed -i -e 's#source ~/\.fzf\.bash; ##' shell/key-bindings.bash
vinstall plugin/fzf.vim 644 usr/share/vim/vimfiles/plugin
vinstall shell/completion.bash 644 usr/share/bash-completion/completions fzf
vinstall shell/completion.zsh 644 usr/share/doc/fzf
vinstall shell/key-bindings.zsh 644 usr/share/doc/fzf
2015-04-17 21:44:53 +00:00
vinstall shell/key-bindings.bash 644 usr/share/doc/fzf
vinstall shell/key-bindings.fish 644 usr/share/doc/fzf
}