void-packages/srcpkgs/acpid/template

19 lines
604 B
Bash

# Template file for 'acpid'
pkgname=acpid
version=2.0.31
revision=2
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="https://sourceforge.net/projects/acpid2/"
distfiles="${SOURCEFORGE_SITE}/acpid2/acpid-${version}.tar.xz"
checksum=fc9dc669ed85d9a1739aa76915e0667c6697c5431160f8dfb253046c6a072cc3
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
}