2015-04-17 23:44:53 +02:00
|
|
|
# Template file for 'fzf'
|
|
|
|
pkgname=fzf
|
2016-01-02 04:12:22 +01:00
|
|
|
version=0.11.1
|
2015-08-20 08:54:17 +02:00
|
|
|
revision=1
|
2015-04-17 23:44:53 +02: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"
|
2015-07-30 07:12:37 +02:00
|
|
|
distfiles="https://github.com/junegunn/fzf/archive/${version}.tar.gz"
|
2016-01-02 04:12:22 +01:00
|
|
|
checksum=611cf1c2da6a7c0d5b582a203774c4d1145c55b601413eb1e7c03e9410bb6733
|
2015-04-17 23:44:53 +02:00
|
|
|
|
2015-04-18 05:21:23 +02:00
|
|
|
pre_build() {
|
|
|
|
cd src
|
|
|
|
}
|
|
|
|
|
2015-04-17 23:44:53 +02:00
|
|
|
post_install() {
|
2015-04-18 05:21:23 +02:00
|
|
|
cd ${wrksrc}
|
2015-04-17 23:44:53 +02:00
|
|
|
vbin bin/fzf-tmux
|
|
|
|
vman man/man1/fzf.1
|
2015-09-13 17:44:13 +02:00
|
|
|
vlicense LICENSE
|
2015-04-17 23:44:53 +02: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
|
2015-10-24 22:00:27 +02:00
|
|
|
vinstall shell/completion.zsh 644 usr/share/doc/fzf
|
|
|
|
vinstall shell/key-bindings.zsh 644 usr/share/doc/fzf
|
2015-04-17 23:44:53 +02:00
|
|
|
vinstall shell/key-bindings.bash 644 usr/share/doc/fzf
|
|
|
|
vinstall shell/key-bindings.fish 644 usr/share/doc/fzf
|
|
|
|
}
|