skim: install manpages, shell completion and vim plugin

closes #10732
This commit is contained in:
Anton Afanasyev 2019-04-09 00:40:33 -07:00 committed by maxice8
parent 5765e3ad57
commit 14b9c19cbe
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
1 changed files with 12 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'skim'
pkgname=skim
version=0.6.6
revision=1
revision=2
build_style=cargo
short_desc="Fuzzy Finder in rust"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
@ -15,5 +15,16 @@ case "$XBPS_TARGET_MACHINE" in
esac
post_install() {
vbin bin/sk-tmux
vman man/man1/sk.1
vman man/man1/sk-tmux.1
vlicense LICENSE
vinstall plugin/skim.vim 644 usr/share/vim/vimfiles/plugin
vinstall shell/completion.bash 644 usr/share/bash-completion/completions skim-completion.bash
vinstall shell/key-bindings.bash 644 usr/share/bash-completion/completions skim-key-bindings.bash
vinstall shell/key-bindings.fish 644 usr/share/fish_vendor_completions.d skim-key-bindings.fish
vinstall shell/completion.zsh 644 usr/share/zsh/site-functions skim-completion.zsh
vinstall shell/key-bindings.zsh 644 usr/share/zsh/site-functions skim-key-bindings.zsh
}