Welcome, guest! Login / Register - Why register?
[ Pastes: 81351 ] [ Members: 2143 ]

Paste

Short URL: http://goo.gl/07GmD
Pasted as Bash by Alessandro on Friday, November 25th, 2011 10:43pm ( 5 years ago )
pkgname=nvidiabl
pkgver=0.72
pkgrel=1
pkgdesc="Driver to adjust display backlight on modern mobile NVidia graphics adapters."
arch=('x86_64' 'i686')
md5sums=('c8f2d36d15f1ba7acdda042e2e148e49')
url="https://github.com/guillaumezin/nvidiabl"
license=('GPL')
depends=()
makedepends=("kernel26-headers")
optdepends=()
conflicts=(nvidia-bl)
options=()
install=nvidiabl.install
changelog=
source=(https://github.com/downloads/guillaumezin/nvidiabl/$pkgname-$pkgver-source-only.dkms.tar.gz)

_extramodules=extramodules-3.1-ARCH

build() {
  cd "$srcdir/dkms_source_tree/"
  #patch -p1 -i "$srcdir/probs-type.patch"
  make
}

package() {
  cd "$srcdir/dkms_source_tree/"
  MODPATH="${pkgdir}/lib/modules/${_extramodules}/"
  install -d $MODPATH
  install -m 644 -c nvidiabl.ko $MODPATH
}

 

Revise this Paste

Your Name:
Code Language:

To minimise the influx of spam: you are required to register to post any code.