# Maintainer: Jesus E. pkgname=iperf3 pkgver=3.16 pkgrel=1 pkgdesc="TCP and UDP network bandwidth measurement tool" url='https://github.com/esnet/iperf' arch=('i686' 'x86_64') license=('Modified-BSD') depends=('libressl') source=("https://downloads.es.net/pub/iperf/iperf-${pkgver}.tar.gz") sha512sums=('9ba97e03f17f3b939343b07ed3d508fbf57489e2b984b77a3dc3ada535f981350e56495154bdd108a83b3c507ccbed599b2b7b25de0d1778912d2c01b4ad4e7c') build() { cd iperf-${pkgver} ./configure \ --prefix=/usr \ --without-sctp make } package() { cd iperf-${pkgver} make DESTDIR="${pkgdir}" install install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" install -Dm644 examples/*{.am,.in,.c} -t "${pkgdir}/usr/share/doc/${pkgname}/examples" install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" }