# Template file for 'rtx'
pkgname=rtx
version=1.34.0
revision=1
build_style=cargo
# skip cli tests: fail to find executable
make_check_args="-- --skip cli::direnv::exec::tests"
short_desc="Polyglot runtime manager (asdf rust clone)"
maintainer="Daniel Lewan <daniel@teddydd.me>"
license="MIT"
homepage="https://github.com/jdxcode/rtx"
changelog="https://github.com/jdxcode/rtx/releases"
distfiles="https://github.com/jdxcode/rtx/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=ec8e51ce9b24d098fbb371a119bdd0d9dca86ed8cbab33d129e75b7e10edd195

post_install() {
	vlicense LICENSE
	vman man/man1/rtx.1
	vdoc README.md
	vcompletion completions/rtx.bash bash rtx
	vcompletion completions/rtx.fish fish rtx
	vcompletion completions/_rtx zsh rtx
}
