summaryrefslogtreecommitdiff
path: root/advertise-provided-libraries.PKGBUILDpatch
blob: 392c321efe176187aeea305cbbaf08fdb64e2c17 (plain)
1
2
3
4
5
6
7
8
9
if printf '%s\n' "${arch[@]}" | grep -qvxF any; then
  if [ -d "${pkgdir}/usr/lib" ]; then
    provides+=(
      $(
        find "${pkgdir}/usr/lib" -name '*.so' -printf '%f\n'
      )
    )
  fi
fi