void-packages/srcpkgs/acpilight/template
2019-07-24 23:49:34 +02:00

22 lines
730 B
Bash

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