34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'fzf'
|
|
pkgname=fzf
|
|
version=0.54.0
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/junegunn/fzf"
|
|
go_ldflags="-X main.version=${version} -X main.revision="
|
|
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/refs/tags/v${version}.tar.gz"
|
|
checksum=ce658b153254e25cf4244365d639cf3ac5b91230a20f76bd6845d88e1267a2db
|
|
|
|
post_install() {
|
|
cd ${wrksrc}
|
|
vbin bin/fzf-tmux
|
|
vman man/man1/fzf.1
|
|
vman man/man1/fzf-tmux.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 plugin/fzf.vim 644 usr/share/nvim/runtime/plugin
|
|
|
|
vinstall shell/completion.bash 644 usr/share/fzf
|
|
vinstall shell/completion.zsh 644 usr/share/fzf
|
|
vinstall shell/key-bindings.zsh 644 usr/share/fzf
|
|
vinstall shell/key-bindings.bash 644 usr/share/fzf
|
|
vinstall shell/key-bindings.fish 644 usr/share/fzf
|
|
}
|