From a3e363872cbfe68b0e7d876b149adb42716afb89 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Tue, 12 Jan 2021 21:47:50 +0100 Subject: user/marble: move soname symlinks to -libs The default_libs() implementation does not put the soname symlinks into the -libs subpackage. They are left in the main package. This renders the -libs subpackage useless as a runtime dependency for other packages. Also move the soname symlinks to /usr/lib using a custom libs() implementation. Signed-off-by: John Ogness --- user/marble/APKBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/user/marble/APKBUILD b/user/marble/APKBUILD index 2f32e4c3f..7e452f5cf 100644 --- a/user/marble/APKBUILD +++ b/user/marble/APKBUILD @@ -32,6 +32,15 @@ build() { make } +libs() { + pkgdesc="$pkgdesc (libraries)" + local file= + for file in "$pkgdir"/usr/lib/lib*.so.[0-9]*; do + mkdir -p "$subpkgdir"/usr/lib + mv "$file" "$subpkgdir"/usr/lib/ + done +} + package() { make DESTDIR="$pkgdir" install } -- cgit v1.2.3-70-g09d2