# Template file for 'acpid'
pkgname=acpid
version=2.0.19
revision=2
build_style=gnu-configure
conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh"
systemd_services="acpid.socket on"
short_desc="The ACPI Daemon (acpid) With Netlink Support"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://sourceforge.net/projects/acpid2/"
distfiles="${SOURCEFORGE_SITE}/acpid2/acpid-$version.tar.xz"
checksum=ce503bf3f36002b45a465dc8a2490c16c553abd5bc2c1c8ece86247ec281dcde

post_install() {
	vinstall ${FILESDIR}/acpid.service 644 usr/lib/systemd/system
	vinstall ${FILESDIR}/acpid.socket 644 usr/lib/systemd/system
	vinstall ${FILESDIR}/handler.sh 755 etc/acpi
	vinstall ${FILESDIR}/anything 644 etc/acpi/events
}
