Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-07-10 09:36:17 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-07-10 09:36:17 +0300
commit584208a9471367aa5248ec025e21662fa599f4f6 (patch)
tree0e865ab9c4722aa231153827e019ab312b7914eb
parent8c5cf14182c82242b84c8d54b3549672f2aece26 (diff)
extra/lirc: Install systemd units in /usr/lib
-rw-r--r--extra/lirc/PKGBUILD6
1 files changed, 6 insertions, 0 deletions
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; }'
+)"