summaryrefslogtreecommitdiff
path: root/advertise-provided-libraries.PKGBUILDpatch
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-05-06 09:54:06 +0200
committerErich Eckner <git@eckner.net>2020-05-06 09:54:06 +0200
commit69e1649a6898d040393102a9080f17365ff1b59b (patch)
tree5a8d980004dc42ec8d0f379cb5fb941da7792403 /advertise-provided-libraries.PKGBUILDpatch
parentb5536a0a5041a3eae750bd62bf263f0e6fa7f32c (diff)
downloadarchlinuxewe-69e1649a6898d040393102a9080f17365ff1b59b.tar.xz
advertise-provided-libraries.PKGBUILDpatch new
Diffstat (limited to 'advertise-provided-libraries.PKGBUILDpatch')
-rw-r--r--advertise-provided-libraries.PKGBUILDpatch7
1 files changed, 7 insertions, 0 deletions
diff --git a/advertise-provided-libraries.PKGBUILDpatch b/advertise-provided-libraries.PKGBUILDpatch
new file mode 100644
index 000000000..fd3700b0a
--- /dev/null
+++ b/advertise-provided-libraries.PKGBUILDpatch
@@ -0,0 +1,7 @@
+if printf '%s\n' "${arch[@]}" | grep -qvxF any; then
+ provides+=(
+ $(
+ find "${pkgdir}/usr/lib" -name '*.so' -printf '%f\n'
+ )
+ )
+fi