1 # Maintainer: David Runge <dvzrv@archlinux.org>
7 pkgdesc="Extended version of the PMI standard"
9 url="https://github.com/openpmix/openpmix"
11 depends=(curl glibc hwloc jansson libevent zlib)
12 makedepends=(perl python)
13 provides=(libpmix.so pmix)
14 backup=(etc/$pkgname/pmix-mca-params.conf)
16 source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/refs/tags/v$pkgver.tar.gz)
17 sha512sums=('2c658a1e46093ef4734da35786bffeb562e882cdcdfce5b31f43d810ab17e22d87c0ed30cd25ec20de16b2d11a7b0b1ad9da7ec9136ac87bd8b97fac65d74451')
18 b2sums=('d9458c3c234116c590f18e27e653be0b6171527e1f80e2c3744d8e6bcabc99d1ca701f6bb101e3c0add5b15e60c92b980b000246f339c544a83e21cacbf2ce5e')
29 --sysconfdir=/etc/$pkgname \
32 # prevent excessive overlinking due to libtool
33 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
38 make -k check -C $pkgname-$pkgver
44 make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
45 install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"