Date: Monday, March 6, 2023 @ 23:05:55 Author: bgyorgy Revision: 1416326
upgpkg: hdf5 1.12.2-2: Fix version numbers in pkg-config files Modified: hdf5/trunk/PKGBUILD ----------+ PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-03-06 22:32:26 UTC (rev 1416325) +++ PKGBUILD 2023-03-06 23:05:55 UTC (rev 1416326) @@ -6,7 +6,7 @@ pkgname=hdf5 pkgver=1.12.2 -pkgrel=1 +pkgrel=2 pkgdesc="General purpose library and file format for storing scientific data" arch=(x86_64) url="https://www.hdfgroup.org/hdf5" @@ -69,6 +69,9 @@ cd ${pkgname}-${pkgver/_/-} make DESTDIR="${pkgdir}" install install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname} + # Install pkg-config files from CMake tree install -Dm644 ../build/CMakeFiles/hdf5{,_hl}{,_cpp,_fortran}.pc -t "${pkgdir}"/usr/lib/pkgconfig/ + # Fix version numbers in pkg-config files + sed -i '/Requires/ s/-/ = /g' "${pkgdir}"/usr/lib/pkgconfig/*.pc }
