void-packages/srcpkgs/acpilight/template

23 lines
704 B
Bash

# Template file for 'acpilight'
pkgname=acpilight
version=1.1
revision=3
_commit=f54865ed9a11eedaeffa71af320a3bf36c89f15d
wrksrc="${pkgname}-${_commit}"
noarch=yes
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/${_commit}/${pkgname}-${_commit}.tar.bz2"
checksum=f78603f2d1f64a2c32890e58b4072d1604d038c6d0d86017db3acb7a54eebe25
replaces="xbacklight>=0"
provides="xbacklight-${version}_${revision}"
do_install() {
vbin xbacklight
vman xbacklight.1
vinstall 90-backlight.rules 644 etc/udev/rules.d
}