diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e2983f9181db --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: tarball <bootctl@gmail.com> + +pkgname=ethr-bin +pkgver=1.0.0 +pkgrel=1 +pkgdesc='Comprehensive Network Measurement Tool for TCP, UDP & ICMP' +url='https://github.com/microsoft/ethr' +arch=(x86_64) +license=(MIT) +provides=(ethr) +conflicts=(ethr) +depends=(glibc) + +source=("https://github.com/microsoft/ethr/releases/download/v$pkgver/ethr_linux.zip") +sha256sums=('781f48294b6623ef22fd95b432e1c9c113acc4c45cd223d538da2e6976783721') + +package() { + install -Dm755 ethr "$pkgdir"/usr/bin/ethr + + # ICMP tests without requiring root + setcap cap_net_raw+ep "$pkgdir"/usr/bin/ethr +} |