void-packages/srcpkgs/rtx/template

26 lines
816 B
Bash

# Template file for 'rtx'
pkgname=rtx
version=1.35.8
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/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=fa04aacad2ed9d80df984d9c79c04185dd3ea26b6877f17c785afeee0c6d3ab7
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
}