Profile
Pastes: 74470
Members: 1446

Paste

Plain view | Edit code: here. | Add this to your website. | Report abuse.

Short URL: http://goo.gl/07GmD

Pasted as Bash by Alessandro on Friday, November 25th, 2011 10:43pm ( 3 years ago )

  1. pkgname=nvidiabl
  2. pkgver=0.72
  3. pkgrel=1
  4. pkgdesc="Driver to adjust display backlight on modern mobile NVidia graphics adapters."
  5. arch=('x86_64' 'i686')
  6. md5sums=('c8f2d36d15f1ba7acdda042e2e148e49')
  7. url="https://github.com/guillaumezin/nvidiabl"
  8. license=('GPL')
  9. depends=()
  10. makedepends=("kernel26-headers")
  11. optdepends=()
  12. conflicts=(nvidia-bl)
  13. options=()
  14. install=nvidiabl.install
  15. changelog=
  16. source=(https://github.com/downloads/guillaumezin/nvidiabl/$pkgname-$pkgver-source-only.dkms.tar.gz)
  17.  
  18. _extramodules=extramodules-3.1-ARCH
  19.  
  20. build() {
  21.   cd "$srcdir/dkms_source_tree/"
  22.   #patch -p1 -i "$srcdir/probs-type.patch"
  23.   make
  24. }
  25.  
  26. package() {
  27.   cd "$srcdir/dkms_source_tree/"
  28.   MODPATH="${pkgdir}/lib/modules/${_extramodules}/"
  29.   install -d $MODPATH
  30.   install -m 644 -c nvidiabl.ko $MODPATH
  31. }
  32.  

Revise this Paste
Your Name:
Code Language:
 
Security Image:
Text seen in Image:
Comments

Nothing has been added as yet. Post a comment.