35 lines
1001 B
Bash
35 lines
1001 B
Bash
# Template file for 'skim'
|
|
pkgname=skim
|
|
version=0.15.5
|
|
revision=1
|
|
build_style=cargo
|
|
make_install_args="--path skim"
|
|
short_desc="Fuzzy Finder in rust"
|
|
maintainer="Saksham <voidisnull@duck.com>"
|
|
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=aa7c90057ba73f86858cb7632da35db0e5acaeb5b8304913746b4ae29bd835bf
|
|
|
|
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
|
|
}
|