[arch-commits] Commit in netperf/trunk (PKGBUILD)
Sébastien Luttringer
seblu at archlinux.org
Sat Jul 8 10:56:41 UTC 2017
Date: Saturday, July 8, 2017 @ 10:56:40
Author: seblu
Revision: 243321
upgpkg: netperf 2.7.0-3
- fix FS#54519
Modified:
netperf/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-08 10:49:56 UTC (rev 243320)
+++ PKGBUILD 2017-07-08 10:56:40 UTC (rev 243321)
@@ -5,21 +5,21 @@
pkgname=netperf
pkgver=2.7.0
-pkgrel=2
+pkgrel=3
pkgdesc='Benchmarking tool for many different types of networking'
-url='http://www.netperf.org/'
+url='https://github.com/HewlettPackard/netperf/'
license=('custom')
arch=('i686' 'x86_64')
depends=('glibc' 'libsmbios' 'lksctp-tools')
-source=("ftp://ftp.netperf.org/netperf/$pkgname-$pkgver.tar.bz2"
+source=("https://github.com/HewlettPackard/netperf/archive/$pkgname-$pkgver.tar.gz"
"$pkgname.service"
'001-fix-inlining.patch')
-md5sums=('ad1c5342d61f297c417a93133aeba65a'
+md5sums=('e0d45b5bca1eee2aef0155de82366202'
'7bce5056b2a24d76fcc0c20e4b527416'
'0160c47c86ff1fca8df64cfb4cd4d9f2')
prepare() {
- cd $pkgname-$pkgver
+ cd netperf-netperf-$pkgver
# apply patch from the source array (should be a pacman feature)
local filename
for filename in "${source[@]}"; do
@@ -32,7 +32,7 @@
}
build() {
- cd $pkgname-$pkgver
+ cd netperf-netperf-$pkgver
./configure \
--prefix=/usr \
--enable-demo \
@@ -43,7 +43,7 @@
}
package() {
- cd $pkgname-$pkgver
+ cd netperf-netperf-$pkgver
make DESTDIR="$pkgdir" install
# license
install -D -m 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
More information about the arch-commits
mailing list