29 lines
969 B
Bash
29 lines
969 B
Bash
# Template file for 'fzf'
|
|
pkgname=fzf
|
|
version=0.17.3
|
|
revision=4
|
|
build_style=go
|
|
go_import_path="github.com/junegunn/fzf"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
hostmakedepends="git"
|
|
makedepends="ncurses-devel"
|
|
license="MIT"
|
|
homepage="https://github.com/junegunn/fzf"
|
|
short_desc="Command-line fuzzy finder"
|
|
distfiles="https://github.com/junegunn/fzf/archive/${version}.tar.gz"
|
|
checksum=e843904417adf926613431e4403fded24fade56269446e92aac6ff1db86af81e
|
|
|
|
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
|
|
}
|