# Template file for 'acpid'
pkgname=acpid
version=2.0.30
revision=1
build_style=gnu-configure
short_desc="The ACPI Daemon (acpid) With Netlink Support"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-or-later"
homepage="http://sourceforge.net/projects/acpid2/"
distfiles="${SOURCEFORGE_SITE}/acpid2/acpid-${version}.tar.xz"
checksum=28b77b62d3f64ebd1c2a3d16bccc6d4333b4e24a86aeacebec255fad223cf4cb
conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh"

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