Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] webmail now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted as Bash by Alessandro ( 12 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: