void-packages/srcpkgs/acpilight/template

22 lines
658 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-07-24 19:18:50 +02:00
revision=2
2018-07-05 10:32:24 +02:00
wrksrc="${pkgname}-v${version}"
2018-03-20 10:19:12 +01:00
noarch=yes
2018-07-24 19:18:50 +02:00
depends="python3"
2018-03-20 10:19:12 +01:00
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
}