~alpine/aports

testing/brillo: new aport v1 REJECTED

Cosmo Borsky: 1
 testing/brillo: new aport

 1 files changed, 47 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3313/mbox | git am -3
Learn more about email & git

[PATCH] testing/brillo: new aport Export this patch

---
 testing/brillo/APKBUILD | 47 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100644 testing/brillo/APKBUILD

diff --git a/testing/brillo/APKBUILD b/testing/brillo/APKBUILD
new file mode 100644
index 0000000000..ebd693b5f1
--- /dev/null
+++ b/testing/brillo/APKBUILD
@@ -0,0 +1,47 @@
# Contributor: Cosmo Borsky <me@cosmoborsky.com>
# Maintainer: Cosmo Borksy <me@cosmoborsky.com>
pkgname="brillo"
pkgver="1.4.9"
pkgrel=0
pkgdesc="Control the brightness of backlight and keyboard LED devices on Linux."
url="https://gitlab.com/cameronnemo/brillo"
arch="all"
license="GPL-3.0"
makedepends="go-md2man"
subpackages="$pkgname-doc $pkgname-apparmor $pkgname-polkit $pkgname-udev"
source="https://gitlab.com/cameronnemo/brillo/-/archive/v${pkgver}/brillo-v${pkgver}.tar.gz"
builddir="$srcdir/brillo-v${pkgver}"

build() {
	make build
}

check() {
	BRILLOBIN="${builddir}/build/brillo"
}

package() {
	make install.bin PREFIX="${pkgdir}"
}

doc() {
	cd "${builddir}"
	make install.man PREFIX="${subpkgdir}"
}

apparmor() {
	cd "${builddir}"
	make install.apparmor DESTDIR="${subpkgdir}"
}

polkit() {
	cd "${builddir}"
	make install.polkit PREFIX="${subpkgdir}"
}

udev() {
	cd "${builddir}"
	make install.udev DESTDIR="${subpkgdir}"
}

sha512sums="444f173bf6d1bcbb1598979e906656adf322e036372ac11553e23152d3bfc3b8c0aa5839e2069e095eafab3993a975e4247418f3828760c9c3cd29a6a092327b  brillo-v1.4.9.tar.gz"
-- 
2.24.1