summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/nvidia/PKGBUILD
diff options
context:
space:
mode:
authorNathan Harris <nharris@eoimaging.com>2009-12-02 15:19:56 (GMT)
committerNathan Harris <nharris@eoimaging.com>2009-12-02 15:19:56 (GMT)
commitc97c9144162f92cc5210283d0ab1f8b8673618ec (patch)
tree47f386e09400a5b938085984b1fe9f385295fba6 /abs/core-testing/nvidia/PKGBUILD
parente3cf7f9e0e439353d7de6c00eca18a80de5907cd (diff)
downloadlinhes_pkgbuild-c97c9144162f92cc5210283d0ab1f8b8673618ec.zip
linhes_pkgbuild-c97c9144162f92cc5210283d0ab1f8b8673618ec.tar.gz
linhes_pkgbuild-c97c9144162f92cc5210283d0ab1f8b8673618ec.tar.bz2
nvidia: updated to 190.42
Diffstat (limited to 'abs/core-testing/nvidia/PKGBUILD')
-rw-r--r--abs/core-testing/nvidia/PKGBUILD41
1 files changed, 19 insertions, 22 deletions
diff --git a/abs/core-testing/nvidia/PKGBUILD b/abs/core-testing/nvidia/PKGBUILD
index 8da003b..7adf7ae 100644
--- a/abs/core-testing/nvidia/PKGBUILD
+++ b/abs/core-testing/nvidia/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 24051 2009-01-12 12:47:18Z pierre $
+# $Id: PKGBUILD 56687 2009-10-25 15:28:13Z pierre $
# Maintainer : Thomas Baechler <thomas@archlinux.org>
pkgname=nvidia
-pkgver=185.18.36
+pkgver=190.42
_kernver='2.6.28-LinHES'
pkgrel=1
pkgdesc="NVIDIA drivers for kernel26."
@@ -10,28 +10,25 @@ arch=('i686' 'x86_64')
[ "$CARCH" = "i686" ] && ARCH=x86
[ "$CARCH" = "x86_64" ] && ARCH=x86_64
url="http://www.nvidia.com/"
-depends=('kernel26>=2.6.28' 'kernel26<2.6.29' 'nvidia-utils=185.18.36' 'vdpinfo')
-conflicts=('nvidia-96xx' 'nvidia-71xx' 'nvidia-legacy' 'nvidia-beta')
+depends=('kernel26>=2.6.28' 'kernel26<2.6.29' "nvidia-utils=${pkgver}")
+conflicts=('nvidia-96xx' 'nvidia-173xx')
license=('custom')
install=nvidia.install
-source=(http://us.download.nvidia.com/XFree86/Linux-$ARCH/${pkgver}/NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run)
-# [ "$CARCH" = "x86_64" ] && md5sums=('318e36822c095fcd410161b1326797b1')
+source=("http://download.nvidia.com/XFree86/Linux-$ARCH/${pkgver}/NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run")
+md5sums=('f94806feee87de756d14fe3e9bcaf05a')
+[ "$CARCH" = "x86_64" ] && md5sums=('ae431ff849ec01446e6724f9fcfe3bb4')
-build()
-{
- # Extract
- cd $startdir/src/
- sh NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run --extract-only
- cd NVIDIA-Linux-$ARCH-${pkgver}-pkg0
-
- # Any extra patches are applied in here...
- cd usr/src/nv/
- ln -s Makefile.kbuild Makefile
- make SYSSRC=/lib/modules/${_kernver}/build module || return 1
-
- # install kernel module
- mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
- install -m644 nvidia.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
+build() {
+ cd $srcdir
+ sh NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run --extract-only
+ cd NVIDIA-Linux-$ARCH-${pkgver}-pkg0
- sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
+ cd usr/src/nv/
+ ln -s Makefile.kbuild Makefile
+ make SYSSRC=/lib/modules/${_kernver}/build module || return 1
+
+ mkdir -p $pkgdir/lib/modules/${_kernver}/kernel/drivers/video/
+ install -m644 nvidia.ko $pkgdir/lib/modules/${_kernver}/kernel/drivers/video/
+
+ sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/nvidia.install
}