Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so dont bother with any of their useless mail servers here and just use oauth login instead. Thank the nice Russians for causing that. :)

Paste

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