From 832effb3474b78a8ceb18028969c87c3bdd431cb Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Sat, 27 Jan 2024 20:50:18 +0100 Subject: [PATCH] bandwhich: update to 0.22.2 --- srcpkgs/bandwhich/template | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/srcpkgs/bandwhich/template b/srcpkgs/bandwhich/template index b543d304b6aa35..48d6fc15bdbae4 100644 --- a/srcpkgs/bandwhich/template +++ b/srcpkgs/bandwhich/template @@ -1,7 +1,7 @@ # Template file for 'bandwhich' pkgname=bandwhich -version=0.21.1 -revision=2 +version=0.22.2 +revision=1 build_style=cargo short_desc="Terminal bandwidth utilization tool" maintainer="Jan Christian Grünhage " @@ -9,8 +9,18 @@ license="MIT" homepage="https://github.com/imsnif/bandwhich" changelog="https://raw.githubusercontent.com/imsnif/bandwhich/main/CHANGELOG.md" distfiles="https://github.com/imsnif/bandwhich/archive/refs/tags/v${version}.tar.gz" -checksum=8ba9bf6469834ad498b9fd17f86759a16793b00a6ef44edd6e525ec40adcb0b0 +checksum=4c41719549e05dbaac1bc84828269e59b2f2032e76ae646da9b9e3b87e5a5fd1 + +export BANDWHICH_GEN_DIR="${XBPS_BUILDDIR}/${pkgname}-${version}/gen" + +pre_build() { + mkdir gen +} post_install() { vlicense LICENSE.md + vcompletion gen/bandwhich.bash bash + vcompletion gen/bandwhich.fish fish + vcompletion gen/_bandwhich zsh + vman gen/bandwhich.1 }