35 lines
998 B
Bash
35 lines
998 B
Bash
# Template file for 'skim'
|
|
pkgname=skim
|
|
version=0.16.0
|
|
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/skim-rs/skim"
|
|
changelog="https://raw.githubusercontent.com/skim-rs/skim/master/CHANGELOG.md"
|
|
distfiles="https://github.com/skim-rs/skim/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=dd596fdb57fc8f7e94ad240839d93b14b775d3be38e74293922c2e048ef13f15
|
|
|
|
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
|
|
}
|