27 lines
772 B
Bash
27 lines
772 B
Bash
# Template file for 'bandwhich'
|
|
pkgname=bandwhich
|
|
version=0.22.2
|
|
revision=1
|
|
build_style=cargo
|
|
short_desc="Terminal bandwidth utilization tool"
|
|
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
|
|
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=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
|
|
}
|