void-packages/srcpkgs/mise/template

32 lines
948 B
Bash

# Template file for 'mise'
pkgname=mise
version=2024.3.7
revision=1
build_style=cargo
# skip cli tests: fail to find executable
make_check_args="-- --skip cli::direnv::exec::tests"
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="Polyglot runtime manager (asdf rust clone)"
maintainer="Daniel Lewan <daniel@teddydd.me>"
license="MIT"
homepage="https://github.com/jdx/mise"
changelog="https://github.com/jdx/mise/releases"
distfiles="https://github.com/jdx/mise/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=539511da46a0f9ca9882cdf087a50572ad77b2a6cee85f3e39d90f0597bed62b
post_install() {
vlicense LICENSE
vman man/man1/mise.1
vdoc README.md
vcompletion completions/mise.bash bash mise
vcompletion completions/mise.fish fish mise
vcompletion completions/_mise zsh mise
}
rtx_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
build_style=meta
}