diff options
author | Eivind Uggedal <eu@eju.no> | 2019-05-14 16:38:49 +0000 |
---|---|---|
committer | Milan P. Stanić <mps@arvanta.net> | 2019-05-14 22:52:58 +0200 |
commit | 6238e80f8dba4e65969188d7cd2a9b6208706f1f (patch) | |
tree | de99aac936646120e439fab8b45623e3fa050e4e /testing/light | |
parent | 46fca7fd90129b660f4397af95874fa40233fe48 (diff) | |
download | aports-6238e80f8dba4e65969188d7cd2a9b6208706f1f.tar.bz2 aports-6238e80f8dba4e65969188d7cd2a9b6208706f1f.tar.xz |
testing/light: new aport
Built in non-SUID mode where udev rules sets up the correct permissions
for the video group.
Diffstat (limited to 'testing/light')
-rw-r--r-- | testing/light/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/light/APKBUILD b/testing/light/APKBUILD new file mode 100644 index 0000000000..7cfbb9181e --- /dev/null +++ b/testing/light/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Eivind Uggedal <eu@eju.no> +# Maintainer: Eivind Uggedal <eu@eju.no> +pkgname=light +pkgver=1.2 +pkgrel=0 +pkgdesc="A program to control backlights and other hardware lights" +url="http://haikarainen.github.io/light/" +arch="all" +license="GPL-3.0-or-later" +options="!check" # no test suite +subpackages="$pkgname-doc" +source="https://github.com/haikarainen/light/releases/download/v$pkgver/light-$pkgver.tar.gz" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-udev=/lib/udev/rules.d + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="d35e1fd097ccaf062a5da02ff769a3f916bf49d307f7db03522ad733bec499378585d5b62e4628a3e73db475060ebe4660be82efbc68709ef3ca3342af7cf252 light-1.2.tar.gz" |