Last active

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

My PKGBUILD of nvidiabl that fixed backlight in my Asus G55VW notebook

View nvidiabl-PKGBUILD
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
# Maintainer: Hasan Gormus aka hsngrms <hsngrms at yandex dot com>
# Contributor: uwinkelvos <uwinkelvos at gmx dot de>
# Contributor: Munzir Taha <munzirtaha at gmail dot com>
pkgname=nvidiabl
pkgver=0.81
pkgrel=1
pkgdesc="Linux driver for setting the backlight brightness on laptops using NVIDIA GPU"
arch=('x86_64' 'i686')
url="https://github.com/guillaumezin/nvidiabl"
license=('GPL')
depends=()
makedepends=('linux-headers')
optdepends=('nvidiablctl: adjust backlight easily')
conflicts=(nvidia-bl)
install=nvidiabl.install
source=(https://github.com/guillaumezin/nvidiabl/archive/v${pkgver}.tar.gz)
sha256sums=('2e8224f4720f312879a3cdaada66b762c574d88178ea24f1dda4016c54921b55')
 
_extramodules="extramodules-$(uname -r | cut -f-2 -d'.')-ARCH"
 
build() {
cd "${srcdir}/nvidiabl-${pkgver}/"
make
}
 
package() {
cd "${srcdir}/nvidiabl-$pkgver/"
install -Dm644 nvidiabl.ko "${pkgdir}/usr/lib/modules/${_extramodules}/nvidiabl.ko"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.