[arch-commits] Commit in iperf3/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sun Nov 5 23:31:40 UTC 2017


    Date: Sunday, November 5, 2017 @ 23:31:39
  Author: anthraxx
Revision: 265500

upgpkg: iperf3 3.3-1

Modified:
  iperf3/trunk/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++--------------
 1 file changed, 24 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-05 22:59:35 UTC (rev 265499)
+++ PKGBUILD	2017-11-05 23:31:39 UTC (rev 265500)
@@ -1,28 +1,38 @@
-# $Id$
-# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Author: Jim Ferguson <ferguson at ncsa.uiuc.edu>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Jim Ferguson <ferguson at ncsa.uiuc.edu>
 # Contributor: Xi0N <jonandermonleon at gmail.com>
 # Contributor: goll <adrian.goll+aur[at]gmail>
 
 pkgname=iperf3
-pkgver=3.2
+pkgver=3.3
 pkgrel=1
-pkgdesc="Internet Protocol bandwidth measuring tool"
+pkgdesc='TCP, UDP, and SCTP network bandwidth measurement tool'
+url='https://github.com/esnet/iperf'
 arch=('i686' 'x86_64')
-url="https://github.com/esnet/iperf" 
 license=('BSD')
-depends=('openssl') 
-source=(http://downloads.es.net/pub/iperf/iperf-$pkgver.tar.gz)
-sha256sums=('f207b36f861485845dbdf09f909c62f3d2222a3cf3d2682095aede8213cd9c1d')
+depends=('openssl')
+source=(http://downloads.es.net/pub/iperf/iperf-${pkgver}.tar.gz)
+sha256sums=('6f596271251056bffc11bbb8f17d4244ad9a7d4a317c2459fdbb853ae51284d8')
+sha512sums=('4a80ace4e3f5bb36d9c5b2ead0629ea913d8069be04483a0d0b836183440feeaca952d2870d57e47937c09529fc772a60299c1cf47ee28c69dce169ab3fcc391')
 
-build() { 
-  cd "iperf-$pkgver"
+build() {
+  cd iperf-${pkgver}
   ./configure --prefix=/usr
   make
 }
 
+check() {
+  cd iperf-${pkgver}
+  make check
+}
+
 package() {
-  cd "iperf-$pkgver"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/iperf3/LICENSE"
-  make DESTDIR="$pkgdir/" install
+  cd iperf-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 examples/*{.am,.in,.c} -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
 }
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list