summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/lirc/lirc-0.9.2a-r1.ebuild')
-rw-r--r--app-misc/lirc/lirc-0.9.2a-r1.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/app-misc/lirc/lirc-0.9.2a-r1.ebuild b/app-misc/lirc/lirc-0.9.2a-r1.ebuild
index fbbbaa0..1643c67 100644
--- a/app-misc/lirc/lirc-0.9.2a-r1.ebuild
+++ b/app-misc/lirc/lirc-0.9.2a-r1.ebuild
@@ -3,7 +3,7 @@
# $Header: $
EAPI=5
-inherit systemd
+inherit systemd user
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
HOMEPAGE="http://www.lirc.org/"
@@ -26,12 +26,11 @@ DEPEND="x11-libs/libX11
x11-libs/libICE
"
RDEPEND="${DEPEND}"
-
-src_install() {
- systemd_dounit "${FILESDIR}"/lircd.service
+src_prepare() {
+ epatch "${FILESDIR}/lircd.service.patch"
}
pkg_preinst() {
enewgroup lirc
- enewuser lirc -1 /bin/false /dev/null "lirc,daemon"
+ enewuser lirc -1 -1 -1 "lirc,daemon"
}