summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d73c92a0696b8379ab7f8a28b7b5a0a3fa944d4 (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.7
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
}