blob: 6273fc7d25bea8422b45704597aff326d336e290 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=uperf
pkgver=1.0.7
pkgrel=1
pkgdesc="A network performance tool that supports modelling and replay of various networking patterns"
arch=('i686' 'x86_64')
url="http://www.uperf.org/"
license=('GPL3')
depends=('lksctp-tools')
makedepends=('automake' 'patch')
source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz
lpthread.patch)
sha256sums=('fca4358c60c5db93ada1ef387962d669f2531796c6cd6dda702c2a27df3cd09a'
'b2194ec13cc9ff62195246390a18200527fd842f97b53e2af6e6da21aad5e4d1')
build() {
cd "${srcdir}"/$pkgname-$pkgver
patch -p1 -i ../lpthread.patch
./configure --prefix=/usr --datadir=/usr/share/uperf
make
}
package() {
cd "${srcdir}"/$pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}
|