void-packages/srcpkgs/skim/template

27 lines
788 B
Bash

# Template file for 'skim'
pkgname=skim
version=0.9.4
revision=2
build_style=cargo
short_desc="Fuzzy Finder in rust"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/lotabout/skim"
distfiles="https://github.com/lotabout/skim/archive/v${version}.tar.gz"
checksum=5ec639c34c7657be4f7f990e9ad0d8d0a7a979eba68daa7c100126ce06702a1b
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/skim
vinstall shell/completion.zsh 644 usr/share/skim
vinstall shell/key-bindings.zsh 644 usr/share/skim
vinstall shell/key-bindings.bash 644 usr/share/skim
vinstall shell/key-bindings.fish 644 usr/share/skim
}