OCaml 4.14.0 rebuild
[arch-packages.git] / prrte / trunk / PKGBUILD
blobc5caf762bbfe3db3a472c5d8f00103d0ac3b5fd5
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 pkgname=prrte
4 pkgver=2.0.2
5 pkgrel=1
6 pkgdesc="PMIx Reference RunTime Environment"
7 arch=(x86_64)
8 url="https://github.com/openpmix/prrte"
9 license=(BSD)
10 depends=(glibc hwloc libevent openpmix)
11 makedepends=(perl)
12 provides=(libprrte.so)
13 options=(debug)
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')
18 prepare() {
19   cd $pkgname-$pkgver
20   ./autogen.pl
23 build() {
24   cd $pkgname-$pkgver
25   ./configure \
26     --prefix=/usr \
27     --sysconfdir=/etc/$pkgname
28   # prevent excessive overlinking due to libtool
29   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
30   make V=1
33 check() {
34   make -k check -C $pkgname-$pkgver
37 package() {
38   depends+=(libpmix.so)
40   make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
41   install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"