void-packages/srcpkgs/rtx/template

26 lines
818 B
Bash

# Template file for 'rtx'
pkgname=rtx
version=2023.8.2
revision=2
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/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=beb69e87506d411a7ff75880a16911a5830fc9a5af6896da81568a7164f6cd7e
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
}