diff --git a/srcpkgs/bandwhich/INSTALL b/srcpkgs/bandwhich/INSTALL new file mode 100644 index 00000000000..4bdab9ebbf9 --- /dev/null +++ b/srcpkgs/bandwhich/INSTALL @@ -0,0 +1,5 @@ +case "${ACTION}" in +post) + setcap cap_net_raw+ep usr/bin/bandwhich + ;; +esac diff --git a/srcpkgs/bandwhich/template b/srcpkgs/bandwhich/template new file mode 100644 index 00000000000..bdc1c349685 --- /dev/null +++ b/srcpkgs/bandwhich/template @@ -0,0 +1,15 @@ +# Template file for 'bandwhich' +pkgname=bandwhich +version=0.6.0 +revision=1 +build_style=cargo +short_desc="Terminal bandwidth utilization tool" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/imsnif/bandwhich" +distfiles="${homepage}/archive/${version}.tar.gz" +checksum=df13a4641bee77d1199baffaedd27f99fe3d8e36408e318b85b280cdb76ab62e + +post_install() { + vlicense LICENSE.md +}