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

post_install() {
	vinstall ${FILESDIR}/handler.sh 755 etc/acpi
	vinstall ${FILESDIR}/anything 644 etc/acpi/events
	vsv acpid
}
