1 # Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
2 # Contributor: Fredrik Haikarainen <fredrik.haikarainen@gmail.com>
3 # Contributor: Marcin (CTRL) Wieczorek <marcin@marcin.co>
8 pkgdesc='Program to easily change brightness on backlight-controllers.'
10 url='https://github.com/haikarainen/light'
13 install="${pkgname}.install"
14 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/haikarainen/light/archive/v${pkgver}.tar.gz"
17 sha256sums=('62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c'
18 'e0bee2249f59f66cb02ef98dc18e36172d141eb8b9f1bb1c2c8de8323c9ad73e'
19 '7dd149ef9ce9647f70a8047c0690e4ff121670ba58cf5aaac2fd8cd29e03d03f')
22 cd "${pkgname}-${pkgver}"
23 patch -Np1 -i "${srcdir}/114.patch"
24 patch -Np1 -i "${srcdir}/122.patch"
28 cd "${pkgname}-${pkgver}"
30 ./configure --prefix=/usr --with-udev
35 cd "${pkgname}-${pkgver}"
36 make DESTDIR="${pkgdir}" PREFIX=/usr install
39 # vim:set ts=4 sw=4 et: