blob: 2ac4ff39d1647dc76b660d2454a23bde61565e81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Eivind Uggedal <eu@eju.no>
# Maintainer: Eivind Uggedal <eu@eju.no>
pkgname=light
pkgver=1.2.2
pkgrel=0
pkgdesc="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
makedepends="autoconf automake"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/haikarainen/light/archive/v$pkgver.tar.gz"
prepare() {
default_prepare
autoreconf -fi
}
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="5815394fb1545d1e06234c261d475e1836e4c43e47e7707b8628891d20b70db04f1661b78ca1d236d549c734430b606498fa46de060c854791b13cf49de07b59 light-1.2.2.tar.gz"
|