void-packages/srcpkgs/acpilight/template
2018-07-05 10:32:24 +02:00

21 lines
657 B
Bash

# Template file for 'acpilight'
pkgname=acpilight
version=1.1
revision=1
wrksrc="${pkgname}-v${version}"
noarch=yes
depends="python"
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
}