fzf: update to 0.56.2.
[void-pkg.git] / srcpkgs / fzf / template
blob95d9e681b04eeee1d2e077977957cd43a3ff9806
1 # Template file for 'fzf'
2 pkgname=fzf
3 version=0.56.2
4 revision=1
5 build_style=go
6 go_import_path="github.com/junegunn/fzf"
7 go_ldflags="-X main.version=${version} -X main.revision="
8 makedepends="ncurses-devel"
9 short_desc="Command-line fuzzy finder"
10 maintainer="Leah Neukirchen <leah@vuxu.org>"
11 license="MIT"
12 homepage="https://github.com/junegunn/fzf"
13 changelog="https://raw.githubusercontent.com/junegunn/fzf/master/CHANGELOG.md"
14 distfiles="https://github.com/junegunn/fzf/archive/refs/tags/v${version}.tar.gz"
15 checksum=1d67edb3e3ffbb14fcbf786bfcc0b5b8d87db6a0685135677b8ef4c114d2b864
17 post_install() {
18         cd ${wrksrc}
19         vbin bin/fzf-tmux
20         vman man/man1/fzf.1
21         vman man/man1/fzf-tmux.1
22         vlicense LICENSE
24         sed -i -e 's#source ~/\.fzf\.bash; ##' shell/key-bindings.bash
25         vinstall plugin/fzf.vim 644 usr/share/vim/vimfiles/plugin
26         vinstall plugin/fzf.vim 644 usr/share/nvim/runtime/plugin
28         vinstall shell/completion.bash 644 usr/share/fzf
29         vinstall shell/completion.zsh 644 usr/share/fzf
30         vinstall shell/key-bindings.zsh 644 usr/share/fzf
31         vinstall shell/key-bindings.bash 644 usr/share/fzf
32         vinstall shell/key-bindings.fish 644 usr/share/fzf