index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-01-22 11:17:58 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-22 11:17:58 +0100 |
commit | 350468476ee86bfcf7f717dd9a8496bee172c236 (patch) | |
tree | 8dcf23ceed5ed56c3bd5ada12a416f0e758ac2ed | |
parent | d5a246926a733f1eff999724fe973e841f1193f7 (diff) |
-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' |