summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-12-22 06:29:02 (GMT)
committerCecil <knoppmyth@gmail.com>2011-12-22 06:29:02 (GMT)
commit90fe13c310dfbeab98a12a5dacc016f307ec4feb (patch)
treee39facb04cd18c8f93f9e082c6a4be13217dfad6 /abs/core/nvidia/PKGBUILD
parentd5600ed2385ad873731cd84f32a3552e85c5be00 (diff)
downloadlinhes_pkgbuild-90fe13c310dfbeab98a12a5dacc016f307ec4feb.zip
linhes_pkgbuild-90fe13c310dfbeab98a12a5dacc016f307ec4feb.tar.gz
linhes_pkgbuild-90fe13c310dfbeab98a12a5dacc016f307ec4feb.tar.bz2
nvidia:Fixed typo, other issues.
Diffstat (limited to 'abs/core/nvidia/PKGBUILD')
-rw-r--r--abs/core/nvidia/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/abs/core/nvidia/PKGBUILD b/abs/core/nvidia/PKGBUILD
index 8e9cfbc..4572095 100644
--- a/abs/core/nvidia/PKGBUILD
+++ b/abs/core/nvidia/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=nvidia
pkgver=290.10
-_extramodules=extramodules-2.6.26-LinHES
+#_extramodules=extramodules-2.6.39-LinHES
_kernver='2.6.39-LinHES'
-pkgrel=1
+pkgrel=2
pkgdesc="NVIDIA drivers for linux."
arch=('i686' 'x86_64')
url="http://www.nvidia.com/"
@@ -37,11 +37,11 @@ build() {
package() {
install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
- "${pkgdir}/lib/modules/${_extramodules}/nvidia.ko"
+ "${pkgdir}/lib/modules/${_kernver}/kernel/drivers/video/nvidia.ko"
install -d -m755 "${pkgdir}/etc/modprobe.d"
echo "blacklist nouveau" >> "${pkgdir}/etc/modprobe.d/nouveau_blacklist.conf"
- sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "${startdir}/nvidia.install"
- gzip "${pkgdir}/lib/modules/${_extramodules}/nvidia.ko"
+ sed -i -e "s/EXTRAMODULES='.*'/KERNEL_VERSION='${_kernver}'/" "${startdir}/nvidia.install"
+ gzip "${pkgdir}/lib/modules/${_kernver}/kernel/drivers/video/nvidia.ko"
}
md5sums=('50319a4b3818c12c9c7243525e0e6316')