bandwhich: update to 0.23.1
[void-pkg.git] / srcpkgs / bandwhich / template
blob3ba4db52a2f1a88ca7aece8baa8951cfbc317046
1 # Template file for 'bandwhich'
2 pkgname=bandwhich
3 version=0.23.1
4 revision=1
5 build_style=cargo
6 short_desc="Terminal bandwidth utilization tool"
7 maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
8 license="MIT"
9 homepage="https://github.com/imsnif/bandwhich"
10 changelog="https://raw.githubusercontent.com/imsnif/bandwhich/main/CHANGELOG.md"
11 distfiles="https://github.com/imsnif/bandwhich/archive/refs/tags/v${version}.tar.gz"
12 checksum=aafb96d059cf9734da915dca4f5940c319d2e6b54e2ffb884332e9f5e820e6d7
14 export BANDWHICH_GEN_DIR="${XBPS_BUILDDIR}/${pkgname}-${version}/gen"
16 pre_build() {
17         mkdir gen
20 post_install() {
21         vlicense LICENSE.md
22         vcompletion gen/bandwhich.bash bash
23         vcompletion gen/bandwhich.fish fish
24         vcompletion gen/_bandwhich zsh
25         vman gen/bandwhich.1