# Template file for 'rtx'
pkgname=rtx
version=1.32.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="Andy Weidenbaum <atweiden@tutanota.de>"
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=54bb235dcfc34e24c48bd5bc1f2ac9b8a6f9eb7cf1d3b64c514ebbf6d34570f1

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
}
