vp-build/srcpkgs/brillo/template

22 lines
665 B
Bash

# Template file for 'brillo'
pkgname=brillo
version=1.2.1
revision=1
build_style=gnu-makefile
wrksrc="$pkgname-v$version"
make_build_target="dist"
make_install_args="install-dist"
hostmakedepends="help2man"
conf_files="/etc/apparmor.d/bin.brillo"
short_desc="Keyboard and LED Backlight Control Tool"
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/cameronnemo/brillo"
distfiles="$homepage/-/archive/v$version/$wrksrc.tar.gz"
checksum=08507fccd745b0c371dec33944182f4f11bd637c8b6d49d8d28e702f4c271834
if [ "$CROSS_BUILD" ]; then
make_build_args+=" MANPROG=/usr/bin/brillo"
hostmakedepends+=" brillo"
fi