void-packages/srcpkgs/acpid/template

34 lines
1.1 KiB
Plaintext

# Template file for 'acpid'
pkgname=acpid
version=2.0.16
revision=2
build_style=gnu-configure
short_desc="The ACPI Daemon (acpid) With Netlink Support"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://tedfelix.com/linux/acpid-netlink.html"
distfiles="http://tedfelix.com/linux/acpid-$version.tar.xz"
checksum=94df0e73813a5dbaa1d7ae1049b3216b0cfd9d0843c89241080699ca62569808
long_desc="
In recent linux kernels, the /proc/acpi/event interface has been deprecated.
The same information (and more) is available via netlink (a way for the kernel
to communicate with userspace that is usually used for networking) and the
input layer (mouse, keyboard, power button, etc...). This version of acpid
supports netlink and the input layer."
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
}
acpid_package() {
conf_files="/etc/conf.d/acpid"
systemd_services="acpid.socket on"
pkg_install() {
vmove etc
vmove usr
}
}