From 584208a9471367aa5248ec025e21662fa599f4f6 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Wed, 10 Jul 2024 09:36:17 +0300 Subject: extra/lirc: Install systemd units in /usr/lib --- extra/lirc/PKGBUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extra/lirc/PKGBUILD b/extra/lirc/PKGBUILD index 8b137891..2bdada51 100644 --- a/extra/lirc/PKGBUILD +++ b/extra/lirc/PKGBUILD @@ -1 +1,7 @@ +# For some reason the systemd files get installed in /lib, which makes this package unusable +# So move them manually to /usr/lib +eval "$( + declare -f package | \ + sed '$ d' | sed '$ a mv "${pkgdir}"/lib/systemd "${pkgdir}"/usr/lib/; rm -r "${pkgdir}"/lib; }' +)" -- cgit v1.2.3-70-g09d2