34 lines
971 B
Bash
34 lines
971 B
Bash
# Template file for 'skim'
|
|
pkgname=skim
|
|
version=0.10.2
|
|
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=a46b670848b9b083cd45cd1db36387efc73f856972531d9f156988e83a0c3c07
|
|
|
|
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
|
|
}
|