diff --git a/srcpkgs/brillo/template b/srcpkgs/brillo/template new file mode 100644 index 0000000000..e0ed23e1ec --- /dev/null +++ b/srcpkgs/brillo/template @@ -0,0 +1,21 @@ +# 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 " +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