mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-29 04:21:37 +01:00
37 lines
910 B
Plaintext
37 lines
910 B
Plaintext
# Contributor: Eivind Uggedal <eu@eju.no>
|
|
# Maintainer: Eivind Uggedal <eu@eju.no>
|
|
pkgname=light
|
|
pkgver=1.2.1
|
|
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
|
|
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="008ddce57fcf48538127ef8b2a04bbe815b8f2b96ba4d7cbaa386d0d688951ed06c464119a9624e2bb78f274a0899c56cd0a868de64e87b812e55f1556f8b52a light-1.2.1.tar.gz"
|