archrelease: copy trunk to extra-x86_64
[arch-packages.git] / prrte / repos / extra-x86_64 / PKGBUILD
blob238dee04dc37dc57a497c6c1dcd97e6a75026a93
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 pkgname=prrte
4 pkgver=3.0.0
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/$pkgname-$pkgver.tar.gz)
15 sha512sums=('3400f666092531f0f55054fefe0f28aaa94b177f170ad038f3f87a9c62b1fe4139fdde480030afb7eb0147b4775fdd83742424ccb4306234343e244f089935d6')
16 b2sums=('d4899e08c5ee2766d61fa56d53cd9ecdc9e3c16cb9328476c1d18e7bb65058b57a9d243f5540e15057b1fb6fb4c5d097c869c778a69f525441b6b63778a17038')
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/"