blob: 648c030c3c4e9122bbb877b9e4ef034c08402464 (
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
|
# Maintainer: Sam Stuewe <halosghost at archlinux dot info>
pkgname=enlighten-git
pkgver=0
pkgrel=1
pkgdesc='A small tool to modify LCD backlight brightness'
url='https://github.com/HalosGhost/enlighten'
arch=('i686' 'x86_64')
license=('GPL3')
makedepends=('git' 'tup' 'clang')
source=('git+https://github.com/HalosGhost/enlighten.git')
sha256sums=('SKIP')
pkgver () {
cd enlighten
printf '0.r%s.%s' "$(git rev-list --count HEAD)" "$(git log -1 --pretty=format:%h)"
}
prepare () {
cd enlighten
./configure # --device=<see `ls /sys/class/backlight` for your device names>'
}
build () {
cd enlighten
make
}
package () {
cd enlighten
make DESTDIR="$pkgdir" PREFIX="/usr" install
}
|