blob: a063f5944afbe3e946e3c2ad3cd2bc560303a5d6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# 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
}
|