void-packages/srcpkgs/skim/template

34 lines
971 B
Bash

# Template file for 'skim'
pkgname=skim
version=0.10.1
revision=1
build_style=cargo
short_desc="Fuzzy Finder in rust"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/lotabout/skim"
changelog="https://raw.githubusercontent.com/lotabout/skim/master/CHANGELOG.md"
distfiles="https://github.com/lotabout/skim/archive/refs/tags/v${version}.tar.gz"
checksum=7ff0626a185c06eca2e71858a1d656aed08b3932db8a6f6f59651d3e7a5e515f
if [ "$XBPS_WORDSIZE" = 32 ]; then
make_check=no # disable tests on 32bit due to register exhaustion
fi
post_install() {
vbin bin/sk-tmux
vman man/man1/sk.1
vman man/man1/sk-tmux.1
vcompletion shell/completion.bash bash sk
vcompletion shell/completion.zsh zsh sk
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
vinstall plugin/skim.vim 644 usr/share/vim/vimfiles/plugin
vlicense LICENSE
}