diff --git a/srcpkgs/trippy/template b/srcpkgs/trippy/template index 1c7d55b3ba5..8930f65630c 100644 --- a/srcpkgs/trippy/template +++ b/srcpkgs/trippy/template @@ -1,13 +1,24 @@ # Template file for 'trippy' pkgname=trippy -version=0.12.1 +version=0.12.2 revision=1 +build_wrksrc="crates/trippy" build_style=cargo -make_install_args="--path=crates/trippy" +build_helper="qemu" short_desc="Tool to assist with analysis of networking issues" maintainer="icp " license="Apache-2.0" homepage="https://trippy.rs/" changelog="https://raw.githubusercontent.com/fujiapple852/trippy/refs/heads/master/RELEASES.md" distfiles="https://github.com/fujiapple852/trippy/archive/refs/tags/${version}.tar.gz" -checksum=ae868123cba03977786f0dd74297f2e15e021d753684bd6e47554003f03a3d5b +checksum=6f23549e5f398113ecd0d2f15c829f5ab84fcdf99dde9942c61746e72f990085 + +post_install() { + vtargetrun ${DESTDIR}/usr/bin/trip --generate-man > trip.1 + vman trip.1 + + for shell in bash fish zsh; do + vtargetrun ${DESTDIR}/usr/bin/trip --generate ${shell} > trip.${shell} + vcompletion trip.${shell} ${shell} trip + done +}