summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 81bf287b8d8b2d8cabae05bbf3ab3e9a6d5478f1 (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
# Maintainer: James P. Harvey <jamespharvey20 at gmail dot com>

pkgname=ibsim
pkgver=0.7
pkgrel=3
pkgdesc='OpenFabrics Alliance InfiniBand simulator utilities'
arch=('x86_64' 'i686')
url='https://www.openfabrics.org/index.php/overview.html'
license=('GPL2')
depends=('libibmad' 'bash')
source=("https://www.openfabrics.org/downloads/management/${pkgname}-${pkgver}.tar.gz")
sha256sums=('66908257f0de6866589b6f4b99e9cfd2805d4d3ed61631e09d15eae876202e24')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  # ibsim doesn't use configure, just make
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make libpath=/usr/lib DESTDIR="${pkgdir}" install
  install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
  cp -r net-examples scripts "${pkgdir}/usr/share/doc/${pkgname}"
}