Received: from out.migadu.com (out.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id F185F7819E6 for <~alpine/aports@lists.alpinelinux.org>; Sun, 29 Mar 2020 05:09:35 +0000 (UTC) Received: (Migadu outbound); Sun, 29 Mar 2020 05:09:35 +0000 Authentication-Results: out.migadu.com; auth=pass (login) Received: from localhost (146-115-190-67.s3649.c3-0.wtr-cbr1.sbo-wtr.ma.cable.rcncustomer.com [146.115.190.67]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 7251D8AC-81DE-492A-B63C-AEEED01DA0D4.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Sun, 29 Mar 2020 05:09:35 +0000 From: Cosmo Borsky To: ~alpine/aports@lists.alpinelinux.org Cc: Cosmo Borsky Subject: [PATCH] testing/brillo: new aport Date: Sun, 29 Mar 2020 01:09:18 -0400 Message-Id: <20200329050917.9039-1-me@cosmoborsky.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1;a=rsa-sha256;bh=R86vE/5Iv0DhmwRGa5fQhz/mUQReVjlH6cuWBRGSclY=;c=relaxed/simple;d=cosmoborsky.com;h=from:subject:date:to;s=default;b=QDum51WpvBgBWBQ9VsX7eMgqAE6jQ9j/d87d0oj8sv5fUzoi8iHKfFI0vOmA/DciMj7Q85DZXAIhtqyOPMVmMXpwaSwCjXkyr+ZLusHkYVr6zkDHRXP+4hZ+yi4G1rRpmYYeuxwxa1DDYMOuoNXv2DSC3hY8bUUEBZ4I5TW7GdQ= --- 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 +# Maintainer: Cosmo Borksy +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