1 # Maintainer: David Runge <dvzrv@archlinux.org>
6 pkgdesc="PMIx Reference RunTime Environment"
8 url="https://github.com/openpmix/prrte"
10 depends=(glibc hwloc libevent openpmix)
12 provides=(libprrte.so)
14 source=($pkgname-$pkgver.tar.gz::https://github.com/openpmix/$pkgname/releases/download/v$pkgver/prte-$pkgver.tar.gz)
15 sha512sums=('b36ee5dfa7c09ca9b0384183d3aa09f959df394fe5a3da191485472ffacdaa70e1ee323f8092b9b2d83730c91524d98cc5866a5c3bf33b7374b696dfb8555e4e')
16 b2sums=('bf71efb9a0be064e4e07e20467dbe1f299c87bcccee6fc396341d42146cddfc653d4a38699f316df5936f3966c7ef79f808cab51bb669a9d5efe6879a41805b2')
27 --sysconfdir=/etc/$pkgname
28 # prevent excessive overlinking due to libtool
29 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
34 make -k check -C $pkgname-$pkgver
40 make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
41 install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"