void-packages/srcpkgs/acpilight/template

22 lines
657 B
Bash
Raw Normal View History

2018-03-20 10:19:12 +01:00
# Template file for 'acpilight'
pkgname=acpilight
2018-07-05 10:32:24 +02:00
version=1.1
2018-03-20 10:19:12 +01:00
revision=1
2018-07-05 10:32:24 +02:00
wrksrc="${pkgname}-v${version}"
2018-03-20 10:19:12 +01:00
noarch=yes
depends="python"
short_desc="Backward-compatibile xbacklight replacement"
maintainer="cr6git <quark6@protonmail.com>"
2018-07-05 10:32:24 +02:00
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}"
2018-03-20 10:19:12 +01:00
do_install() {
vbin xbacklight
vman xbacklight.1
vinstall 90-backlight.rules 644 etc/udev/rules.d
}