From 3bc662262473b1df029d22d3bd266a64f563a3e4 Mon Sep 17 00:00:00 2001 From: Andy Weidenbaum Date: Thu, 13 Apr 2023 13:02:18 +0000 Subject: [PATCH] New package: rtx-1.29.7 --- srcpkgs/rtx/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/rtx/template diff --git a/srcpkgs/rtx/template b/srcpkgs/rtx/template new file mode 100644 index 000000000000..0eaea43ff920 --- /dev/null +++ b/srcpkgs/rtx/template @@ -0,0 +1,27 @@ +# Template file for 'rtx' +pkgname=rtx +version=1.29.7 +revision=1 +build_style=cargo +build_helper=qemu +# 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 " +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=1f74dc9936150afb19de3492cda0f1049240fb653782d82c4e7bc4018548be2a + +post_install() { + vlicense LICENSE + vman man/man1/rtx.1 + vdoc README.md + vtargetrun "${DESTDIR}/usr/bin/rtx" completion bash > rtx.bash + vtargetrun "${DESTDIR}/usr/bin/rtx" completion fish > rtx.fish + vtargetrun "${DESTDIR}/usr/bin/rtx" completion zsh > _rtx + vcompletion rtx.bash bash rtx + vcompletion rtx.fish fish rtx + vcompletion _rtx zsh rtx +}