void-packages/srcpkgs/acpilight/template

22 lines
659 B
Bash

# Template file for 'acpilight'
pkgname=acpilight
version=1.1
revision=4
noarch=yes
wrksrc="acpilight-v${version}"
depends="python3"
short_desc="Backward-compatibile xbacklight replacement"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/wavexx/acpilight"
distfiles="https://gitlab.com/wavexx/acpilight/-/archive/v${version}/acpilight-v${version}.tar.gz"
checksum=82505a58482e353c0ec4f1e6aed2a21d3e209041855332eb539b54a6e3458800
replaces="xbacklight>=0"
provides="xbacklight-${version}_${revision}"
do_install() {
vbin xbacklight
vman xbacklight.1
vinstall 90-backlight.rules 644 usr/lib/udev/rules.d
}