31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
# Template file for 'fzf'
|
|
pkgname=fzf
|
|
version=0.18.0
|
|
revision=1
|
|
build_style=go
|
|
go_import_path=github.com/junegunn/fzf
|
|
hostmakedepends="git"
|
|
makedepends="ncurses-devel"
|
|
short_desc="Command-line fuzzy finder"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/junegunn/fzf"
|
|
changelog="https://raw.githubusercontent.com/junegunn/fzf/master/CHANGELOG.md"
|
|
distfiles="https://github.com/junegunn/fzf/archive/${version}.tar.gz"
|
|
checksum=5406d181785ea17b007544082b972ae004b62fb19cdb41f25e265ea3cc8c2d9d
|
|
|
|
post_install() {
|
|
cd ${wrksrc}
|
|
vbin bin/fzf-tmux
|
|
vman man/man1/fzf.1
|
|
vlicense LICENSE
|
|
|
|
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
|
|
vinstall shell/key-bindings.bash 644 usr/share/doc/fzf
|
|
vinstall shell/key-bindings.fish 644 usr/share/doc/fzf
|
|
}
|