From 2ed2f44cab1b7f47bfdbdb60f7965060e0193663 Mon Sep 17 00:00:00 2001 From: DeX77 Date: Mon, 28 Aug 2023 11:23:19 +0200 Subject: [PATCH 2/3] * this is not always wrong: dataonly pkgconfig files should be installed in usr/share --- scripts/makepkg | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/makepkg b/scripts/makepkg index 88f55995..7ec35ed4 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -2061,14 +2061,6 @@ cd $startdir for dir in {pkg,pkg.*} do [ ! -d ${dir} ] && continue - ## wrong pkgconfig path - if [ -d ${dir}/usr/share/pkgconfig ]; then - error "Your package has broken pkgconfig PATH" - error "Files are installed in /usr/share/pkgconfig" - error "but should be /usr/lib/pkgconfig" - error "Bailing out, please fix your package!" - exit 1 - fi ## invalid /security/ dir if [ -d ${dir}/usr/lib/security ]; then error "Your package installs PAM files in wrong PATH" -- 2.41.0