summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 06dc7bf66c5287c31bb81d44f2103deef02df009 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=xbacklight-auto-git
pkgbase=xbacklight-auto
pkgver=0.5
pkgrel=0
pkgdesc="Automatic brightness utility using the V4L2 camera api and xbacklight"
arch=('i686' 'x86_64')
license=('GPL')
depends=('xorg-xbacklight') # acpilight should work too
provides=('xbacklight-auto')
source=("git+https://github.com/raptor8134/xbacklight-auto.git")
md5sums=('SKIP')

build() {
	cd ${srcdir}/${pkgbase}
	make
}

package() {
	mkdir -p $pkgdir/usr/bin
	cd $srcdir/$pkgbase
	make DESTDIR=$pkgdir/ install
}