[arch-commits] Commit in lhapdf/trunk (PKGBUILD)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Fri Aug 19 15:33:32 UTC 2022
Date: Friday, August 19, 2022 @ 15:33:31
Author: kgizdov
Revision: 1270941
append flags instead of inserting inline
Modified:
lhapdf/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-19 15:31:58 UTC (rev 1270940)
+++ PKGBUILD 2022-08-19 15:33:31 UTC (rev 1270941)
@@ -3,7 +3,7 @@
# Contributor: JP-Ellis <josh at jpellis dot me>
pkgname=lhapdf
pkgver=6.5.2
-pkgrel=4
+pkgrel=5
pkgdesc="A particle physics tool for evaluating PDFs from discretised data files"
arch=('x86_64')
url="https://lhapdf.hepforge.org/"
@@ -20,7 +20,7 @@
cd "${srcdir}/LHAPDF-${pkgver}"
# add in correct flags
- sed -e 's/-L at abs_top_builddir@\/src\/.libs/-L at abs_top_builddir@\/src\/.libs '"${LDFLAGS} ${LTOFLAGS}"'/g' -i wrappers/python/build.py.in
+ sed '/linkargs =/a linkargs += " '"${LDFLAGS} ${LTOFLAGS}"' "' -i wrappers/python/build.py.in
# installed PDFs must respect system permissions and ownership structure
patch -Np1 -i "${srcdir}/fix_installed_pdf_permissions.patch"
}
More information about the arch-commits
mailing list