From a7958c16d0edf43dcafbbad7ea4c578c2fd3044a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Mon, 30 Dec 2019 23:14:56 -0300 Subject: [PATCH] New package: bandwhich-0.6.0 --- srcpkgs/bandwhich/INSTALL | 5 +++++ srcpkgs/bandwhich/template | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 srcpkgs/bandwhich/INSTALL create mode 100644 srcpkgs/bandwhich/template diff --git a/srcpkgs/bandwhich/INSTALL b/srcpkgs/bandwhich/INSTALL new file mode 100644 index 00000000000..1393ab3c991 --- /dev/null +++ b/srcpkgs/bandwhich/INSTALL @@ -0,0 +1,5 @@ +case "${ACTION}" in +post) + setcap cap_net_admin+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 +}