Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / hdf5
Commits: 1c9f6e95 by Antonio Rojas at 2024-09-23T07:54:55+02:00 Make sed line more future proof Fixes https://gitlab.archlinux.org/archlinux/packaging/packages/hdf5/-/issues/3 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = hdf5 pkgdesc = General purpose library and file format for storing scientific data pkgver = 1.14.4.3 - pkgrel = 1 + pkgrel = 2 url = https://www.hdfgroup.org/hdf5 arch = x86_64 license = custom ===================================== PKGBUILD ===================================== @@ -6,7 +6,7 @@ pkgname=hdf5 pkgver=1.14.4.3 -pkgrel=1 +pkgrel=2 pkgdesc="General purpose library and file format for storing scientific data" arch=(x86_64) url="https://www.hdfgroup.org/hdf5" @@ -86,5 +86,5 @@ package() { # Fix version numbers in pkg-config files sed -i '/Requires/ s/-/ = /g' "${pkgdir}"/usr/lib/pkgconfig/*.pc # Fix bogus include path - sed -e "s|-I/build/hdf5/src/hdf5-$pkgver/src/H5FDsubfiling||g" -i "${pkgdir}"/usr/lib/libhdf5.settings -i "${pkgdir}"/usr/bin/* + sed -re "s|-I/build/hdf5/src/hdf5.*/src/H5FDsubfiling||g" -i "${pkgdir}"/usr/lib/libhdf5.settings -i "${pkgdir}"/usr/bin/* } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/hdf5/-/commit/1c9f6e953ec201a2d19db76efd800f89aa934b87 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/hdf5/-/commit/1c9f6e953ec201a2d19db76efd800f89aa934b87 You're receiving this email because of your account on gitlab.archlinux.org.