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 fix-kernel32.diff)
24 _extramodules=extramodules-3.2-ARCH
27 cd "$srcdir/dkms_source_tree/"
28 patch -p1 -i "$srcdir/fix-kernel32.diff"
33 cd "$srcdir/dkms_source_tree/"
34 MODPATH="${pkgdir}/lib/modules/${_extramodules}/"
36 install -m 644 -c nvidiabl.ko $MODPATH
39 # vim:set ts=2 sw=2 et:
40 md5sums=('c8f2d36d15f1ba7acdda042e2e148e49'
41 '9df67d4bf185775bb4c5505adb458c91')