void-packages/srcpkgs/skim/template

31 lines
1.1 KiB
Bash

# Template file for 'skim'
pkgname=skim
version=0.6.6
revision=2
build_style=cargo
short_desc="Fuzzy Finder in rust"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/lotabout/skim"
distfiles="https://github.com/lotabout/skim/archive/v${version}.tar.gz"
checksum=5975b21a7c3792e910ee9439b41b417e92f2fc7bc92d033e2d4c6d6c48a469c8
case "$XBPS_TARGET_MACHINE" in
aarch64-musl) broken="MAP_32BIT; not found in libc" ;;
esac
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/bash-completion/completions skim-completion.bash
vinstall shell/key-bindings.bash 644 usr/share/bash-completion/completions skim-key-bindings.bash
vinstall shell/key-bindings.fish 644 usr/share/fish_vendor_completions.d skim-key-bindings.fish
vinstall shell/completion.zsh 644 usr/share/zsh/site-functions skim-completion.zsh
vinstall shell/key-bindings.zsh 644 usr/share/zsh/site-functions skim-key-bindings.zsh
}