blob: dae6d36382a052b347d24ef5ffd28912e5ee00f9 (
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
31
|
# Maintainer: Russi <ixaxaar@mailbox.org> <aur@ixaxaar.in>
pkgname=perftest
pkgver=24.04.0.0.41
pkgrel=1
pkgdesc="OpenFabrics Alliance InfiniBand verbs performance testing and benchmarking tools"
arch=('x86_64')
url="https://github.com/linux-rdma/perftest"
license=('GPL2' 'custom:OpenIB.org BSD')
depends=('bash' 'rdma-core')
makedepends=('git' 'autoconf' 'automake' 'libtool')
source=("git+https://github.com/linux-rdma/perftest.git#tag=${pkgver//_/-}")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --tags | sed 's/^v//;s/-/./g;s/-/./'
}
build() {
cd "$srcdir/$pkgname"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|