void-packages/srcpkgs/rtx/template

26 lines
819 B
Bash

# Template file for 'rtx'
pkgname=rtx
version=2023.10.0
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=5e0a2391b890f1a5b874faf029219d85a6ae1bce9878269779a78857bc598a1e
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
}