#!/SBUILD _disabled: false pkg: "bandwhich" pkg_id: "imsnif.bandwhich" pkg_type: "static" ghcr_pkg: "imsnif/bandwhich" category: - "ConsoleOnly" - "Monitor" - "Network" description: "Terminal bandwidth utilization tool" homepage: - "https://github.com/imsnif/bandwhich" maintainer: - "QaidVoid (contact@qaidvoid.dev)" license: - "MIT" build_asset: - url: "https://raw.githubusercontent.com/imsnif/bandwhich/main/LICENSE.md" out: "LICENSE" - url: "https://github.com/imsnif/bandwhich/releases/download/v${PKGVER}/bandwhich-v${PKGVER}-${ARCH}-unknown-linux-musl.tar.gz" out: "bandwhich.tar.gz" note: - "Official binary from https://github.com/imsnif/bandwhich" - "[PORTABLE] (Portable Static Binary)" - "[NO_DESKTOP_INTEGRATION]" provides: - "bandwhich" repology: - "bandwhich" src_url: - "https://github.com/imsnif/bandwhich" tag: - "network" - "bandwidth" - "monitoring" x_exec: host: - "x86_64-linux" - "aarch64-linux" shell: "sh" pkgver: | curl -qfsSL "https://api.github.com/repos/imsnif/bandwhich/releases/latest" | jq -r '.tag_name' | tr -d 'v' run: | tar -xf "bandwhich.tar.gz" -C "$SBUILD_TMPDIR/" mv "$SBUILD_TMPDIR/bandwhich" "$SBUILD_OUTDIR/$PKG" rm -rf "bandwhich.tar.gz"