[neon/snap-packaging/kde-qt6-core-sdk] /: Fix pkgconfig sed line...
Scarlett Moore
null at kde.org
Tue Jun 4 12:16:37 BST 2024
Git commit 8e48613489d42ce0545bea49d43636fe8f05d89c by Scarlett Moore.
Committed on 04/06/2024 at 11:14.
Pushed by scarlettmoore into branch 'master'.
Fix pkgconfig sed line...
M +1 -1 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/commit/8e48613489d42ce0545bea49d43636fe8f05d89c
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 25c805a..fa9d1b1 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -389,7 +389,7 @@ parts:
after: [debs]
override-stage: |
set -eux
- find $CRAFT_PRIME -type f,l -name "*.pc" -exec bash -c "sed -i 's|^prefix=.*$|prefix=/snap/$CRAFT_PROJECT_NAME/current/usr|g' {}*" \;
+ find $CRAFT_PRIME -type f,l -name "*.pc" -exec bash -c "sed -i 's|/root/stage/usr|/snap/$CRAFT_PROJECT_NAME/current/usr|g' {}*" \;
find $CRAFT_PRIME -type f,l -name "*.pc" -exec bash -c "sed -i 's|libdir=/usr|libdir=/snap/$CRAFT_PROJECT_NAME/current/usr|g' {}*" \;
find $CRAFT_PRIME -type f,l -name "*.pc" -exec bash -c "sed -i 's|includedir=/usr|includedir=/snap/$CRAFT_PROJECT_NAME/current/usr|g' {}*" \;
find $CRAFT_PRIME -type f,l -name "*.pc" -exec bash -c "sed -i 's|exec_prefix=/usr|exec_prefix=/snap/$CRAFT_PROJECT_NAME/current/usr|g' {}*" \;
More information about the Neon-commits
mailing list