bandwhich: update to 0.22.2

This commit is contained in:
Marcin Puc 2024-01-27 20:50:18 +01:00 committed by cinerea0
parent 9b67f0a60b
commit 64c7f94920

View file

@ -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 <jan.christian@gruenhage.xyz>"
@ -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
}