void-packages/srcpkgs/acpid/template
Piraty 65b31ee29e
acpid: fix backlight stepping for low values of max_brightness
appearently, max_brightness can be as low as 15, which makes the integer
division round down to 0.

Fixes: c101203b25 ("acpid: cleanup handler")
Reported-by: slotThe <soliditsallgood@mailbox.org>
Signed-off-by: Piraty <piraty1@inbox.ru>
2021-10-22 23:16:00 +02:00

18 lines
600 B
Bash

# Template file for 'acpid'
pkgname=acpid
version=2.0.33
revision=2
build_style=gnu-configure
short_desc="ACPI Daemon (acpid) With Netlink Support"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://sourceforge.net/projects/acpid2/"
distfiles="${SOURCEFORGE_SITE}/acpid2/acpid-${version}.tar.xz"
checksum=0856f71b3eb34a1b663d0a8e6363dfcbc519e63d847330498898658e2972dbe8
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
}