summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e2983f9181dbf3db311e16ab68a5b75f87cd3765 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}