[arch-commits] Commit in openpmix/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sat Aug 27 11:00:27 UTC 2022


    Date: Saturday, August 27, 2022 @ 11:00:26
  Author: dvzrv
Revision: 454601

upgpkg: openpmix 4.2.0-1: Upgrade to 4.2.0.

Switch to auto-generated tarball as upstream fixed the integration with autogen.pl:
https://github.com/openpmix/openpmix/issues/2599

Modified:
  openpmix/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-27 10:43:02 UTC (rev 454600)
+++ PKGBUILD	2022-08-27 11:00:26 UTC (rev 454601)
@@ -2,7 +2,7 @@
 
 _name=pmix
 pkgname=openpmix
-pkgver=4.1.2
+pkgver=4.2.0
 pkgrel=1
 pkgdesc="Extended version of the PMI standard"
 arch=(x86_64)
@@ -13,21 +13,17 @@
 provides=(libpmix.so pmix)
 backup=(etc/$pkgname/pmix-mca-params.conf)
 options=(debug)
-# unable to build from auto-generated tarball because build system is
-# configured to only generate required files when in a git repository:
-# https://github.com/openpmix/openpmix/issues/2599
-# source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/refs/tags/v$pkgver.tar.gz)
-source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/pmix-$pkgver.tar.gz)
-sha512sums=('aff153ab976f85355fd0241374c32fe86fc508c2921769e1e89ba1c4dc522a0e48c346eb6f9f1386c1e92261e348824b4d0062544069246b1a83037f47680d04')
-b2sums=('8595ee23927651770eebdd16a850ae4acdddc64065d9f64ab71399b0b0f04908407e4cc557a8ab8c79750f8e239572b809e2b8705ed264c900ac1dad16f7d68b')
+source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/refs/tags/v$pkgver.tar.gz)
+sha512sums=('7809d3c39198b3a59fc01a770dcb684bed7fbf7e8a2d0eab03738709a854919050f9ad07157be37daf71f63c3adc40f2797e3f0b4329799c4a918a418251cf09')
+b2sums=('d16a623d91dfdd967fc2bfd76a3f81f9bba837d7c6c29b1aeaa90b28461f9c68563137d2db18a5f3e353a3d84cfe303bab570e0b8a78eab6eae6ffadb0ad2a63')
 
 prepare() {
-  cd $_name-$pkgver
+  cd $pkgname-$pkgver
   ./autogen.pl
 }
 
 build() {
-  cd $_name-$pkgver
+  cd $pkgname-$pkgver
   ./configure \
     --prefix=/usr \
     --sysconfdir=/etc/$pkgname \
@@ -39,12 +35,12 @@
 }
 
 check() {
-  make -k check -C $_name-$pkgver
+  make -k check -C $pkgname-$pkgver
 }
 
 package() {
   depends+=(libcurl.so)
 
-  make DESTDIR="$pkgdir" install -C $_name-$pkgver
-  install -vDm 644 $_name-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+  make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
+  install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
 }



More information about the arch-commits mailing list