index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/build-packages | 10 |
diff --git a/bin/build-packages b/bin/build-packages index 4fb9d88..066ef24 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -576,8 +576,14 @@ while [ "${count}" -ne 0 ] && \ pacman -Qqlp "${pkgfile}" | \ sed -n ' s,^.*/,, - /\.so\(\..\+\)\?$/p - ' > \ + /\.so\(\..\+\)\?$/ { + :a + p + s/\(\.so\(\..\+\)\?\)\.[^.]\+$/\1/ + t a + } + ' | \ + sort -u > \ "${pkgfile}.so.provides" done >&2 printf 'searching for required and more provided libraries\n' |