void-packages/srcpkgs/acpilight/template

22 lines
658 B
Bash

# Template file for 'acpilight'
pkgname=acpilight
version=1.1
revision=2
wrksrc="${pkgname}-v${version}"
noarch=yes
depends="python3"
short_desc="Backward-compatibile xbacklight replacement"
maintainer="cr6git <quark6@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/wavexx/acpilight"
distfiles="https://gitlab.com/wavexx/acpilight/-/archive/v${version}/${pkgname}-v${version}.tar.bz2"
checksum=0a5ef16a39c05c1eb195823d906c08f8f912aa48122b31e6dd364c7f9d6c37aa
replaces="xbacklight>=0"
provides="xbacklight-${version}_${revision}"
do_install() {
vbin xbacklight
vman xbacklight.1
vinstall 90-backlight.rules 644 etc/udev/rules.d
}