1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Maintainer: Your Name <ulf@winkelvos.de>
11 pkgdesc="Driver to adjust display backlight on modern mobile NVidia graphics adapters."
12 arch=('x86_64' 'i686')
13 url="https://github.com/guillaumezin/nvidiabl"
16 makedepends=("kernel26-headers")
20 install=nvidiabl.install
22 source=(https://github.com/downloads/guillaumezin/nvidiabl/$pkgname-$pkgver-source-only.dkms.tar.gz)
24 _extramodules=extramodules-3.1-ARCH
27 cd "$srcdir/dkms_source_tree/"
32 cd "$srcdir/dkms_source_tree/"
33 MODPATH="${pkgdir}/lib/modules/${_extramodules}/"
35 install -m 644 -c nvidiabl.ko $MODPATH
38 # vim:set ts=2 sw=2 et:
39 md5sums=('c8f2d36d15f1ba7acdda042e2e148e49')