# Template file for 'acpilight'
pkgname=acpilight
version=1.2
revision=2
depends="python3"
short_desc="Backward-compatibile xbacklight replacement"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/wavexx/acpilight"
changelog="https://gitlab.com/wavexx/acpilight/raw/master/NEWS.rst"
distfiles="https://gitlab.com/wavexx/acpilight/-/archive/v${version}/acpilight-v${version}.tar.gz"
checksum=e5bb51a4e17e918d5282629f494cb80eb2e3e00fc1307e8c435123a9f56b84d5
replaces="xbacklight>=0"
provides="xbacklight-${version}_${revision}"

do_install() {
	vbin xbacklight
	vman xbacklight.1
	vinstall 90-backlight.rules 644 usr/lib/udev/rules.d
}
