Last active
December 11, 2015 10:28
-
-
Save munzirtaha/4586871 to your computer and use it in GitHub Desktop.
My PKGBUILD of nvidiabl that fixed backlight in my Asus G55VW notebook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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