main/openrc: move librariy from /lib to /usr/lib

And default libexecdir to /usr/libexec
This commit is contained in:
Pablo Correa Gómez 2024-09-12 16:10:18 +02:00 committed by Natanael Copa
parent d63289c555
commit 950e9e71ba

View file

@ -2,7 +2,7 @@
pkgname=openrc
pkgver=0.55
_ver=${pkgver/_git*/}
pkgrel=0
pkgrel=1
pkgdesc="OpenRC manages the services, startup and shutdown of a host"
url="https://github.com/OpenRC/openrc"
arch="all"
@ -81,8 +81,6 @@ build() {
-Dpkgconfig=true \
--default-library=both \
--prefix=/ \
--libdir=/usr/lib \
--libexecdir=/lib \
--bindir=/bin \
--sbindir=/sbin \
. output
@ -102,11 +100,6 @@ package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
# place .so's in /lib so fancy ancient separate partition /usr configs can
# load them
mv "$pkgdir"/usr/lib/*.so* "$pkgdir"/usr/lib/*.a \
"$pkgdir"/lib/
# we cannot have anything turned on by default
rm -f "$pkgdir"/etc/runlevels/*/*