summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-18 21:32:14 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-27 17:45:20 -0500
commit3fc6c40998ce1308432537e7ebcb2f5f31a2d17c (patch)
tree20cae4882ec125c9a01ef850028453644ffdc416
parentf21fb79e8acc1057fe81c4fa87545957ddf12931 (diff)
downloadpackages-3fc6c40998ce1308432537e7ebcb2f5f31a2d17c.tar.gz
packages-3fc6c40998ce1308432537e7ebcb2f5f31a2d17c.tar.bz2
packages-3fc6c40998ce1308432537e7ebcb2f5f31a2d17c.tar.xz
packages-3fc6c40998ce1308432537e7ebcb2f5f31a2d17c.zip
system/libcap: Ensure libraries are in /lib
This is needed for systemd to be split correctly.
-rw-r--r--system/libcap/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/libcap/APKBUILD b/system/libcap/APKBUILD
index 0a6a68829..8aadc5445 100644
--- a/system/libcap/APKBUILD
+++ b/system/libcap/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=libcap
pkgver=2.68
-pkgrel=0
+pkgrel=1
pkgdesc="POSIX 1003.1e capabilities"
arch="all"
license="BSD-3-Clause OR GPL-2.0-only"
@@ -39,6 +39,9 @@ package() {
prefix=/usr \
RAISE_SETFCAP=no \
DESTDIR="$pkgdir" install
+ mkdir "$pkgdir"/lib
+ mv "$pkgdir"/usr/lib/*.so* "$pkgdir"/lib/
+ mv "$pkgdir"/usr/sbin "$pkgdir"/
}
sha512sums="ede3e1356aef22e18a46dc8ff0727500ab023bea698cf2bb822abb06625e272940afea52ad6457d0cd8cf1c7f435f1b568baf0a6bf0a08ae96fbf6d7502f9de2 libcap-2.68.tar.xz"