~sircmpwn/alpine-aports (mirror)

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] testing/brillo: new aport

Details
Message ID
<20200329050917.9039-1-me@cosmoborsky.com>
DKIM signature
pass
Download raw message
Patch: +47 -0
---
 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
Leo
Details
Message ID
<20200329070050.597d46df@enterprise>
In-Reply-To
<20200329050917.9039-1-me@cosmoborsky.com> (view parent)
DKIM signature
pass
Download raw message
On Sun, 29 Mar 2020 01:09:18 -0400
Cosmo Borsky <me@cosmoborsky.com> wrote:

> ---
>  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"

brillo already exists
Review patch Export thread (mbox)