acpid: enable systemd socket activation.

This commit is contained in:
Juan RP 2012-06-02 12:49:43 +02:00
parent 8e1339a785
commit 5a8d5e07c7

View file

@ -1,12 +1,15 @@
# Template file for 'acpid' # Template file for 'acpid'
pkgname=acpid pkgname=acpid
version=2.0.16 version=2.0.16
homepage="http://tedfelix.com/linux/acpid-netlink.html" revision=1
distfiles="http://tedfelix.com/linux/acpid-$version.tar.xz"
build_style=gnu-configure build_style=gnu-configure
systemd_services="acpid.socket on"
conf_files="/etc/conf.d/acpid"
short_desc="The ACPI Daemon (acpid) With Netlink Support" short_desc="The ACPI Daemon (acpid) With Netlink Support"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2" license="GPL-2"
homepage="http://tedfelix.com/linux/acpid-netlink.html"
distfiles="http://tedfelix.com/linux/acpid-$version.tar.xz"
checksum=94df0e73813a5dbaa1d7ae1049b3216b0cfd9d0843c89241080699ca62569808 checksum=94df0e73813a5dbaa1d7ae1049b3216b0cfd9d0843c89241080699ca62569808
long_desc=" long_desc="
In recent linux kernels, the /proc/acpi/event interface has been deprecated. In recent linux kernels, the /proc/acpi/event interface has been deprecated.
@ -15,9 +18,6 @@ long_desc="
input layer (mouse, keyboard, power button, etc...). This version of acpid input layer (mouse, keyboard, power button, etc...). This version of acpid
supports netlink and the input layer." supports netlink and the input layer."
systemd_services="acpid.service on"
conf_files="/etc/conf.d/acpid"
post_install() { post_install() {
vinstall ${FILESDIR}/acpid.service 644 lib/systemd/system vinstall ${FILESDIR}/acpid.service 644 lib/systemd/system
vinstall ${FILESDIR}/acpid.socket 644 lib/systemd/system vinstall ${FILESDIR}/acpid.socket 644 lib/systemd/system