5 pkgdesc="NVIDIA drivers for kernel26."
7 [ "$CARCH" = "i686" ] && ARCH=x86
8 [ "$CARCH" = "x86_64" ] && ARCH=x86_64
9 url="http://www.nvidia.com/"
10 depends=('kernel26' "nvidia-utils=${pkgver}")
11 makedepends=('kernel26-headers')
12 conflicts=('nvidia-96xx' 'nvidia-173xx')
14 install=nvidia.install
15 source=("http://download.nvidia.com/XFree86/Linux-$ARCH/$pkgver/NVIDIA-Linux-$ARCH-$pkgver-pkg0.run")
16 md5sums=('c30af5d776e3c71c6dd8e06c30e4bf1f')
17 [ "$CARCH" = "x86_64" ] && md5sums=('91cd7502cb6ca3a5c0e79e33ae79881f')
20 sh NVIDIA-Linux-$ARCH-$pkgver-pkg0.run --extract-only
21 cd NVIDIA-Linux-$ARCH-$pkgver-pkg0
24 IGNORE_XEN_PRESENCE=y make SYSSRC=/lib/modules/$_kernver/build module || return 1
26 mkdir -p $pkgdir/lib/modules/$_kernver/kernel/drivers/video/
27 install -m644 nvidia.ko $pkgdir/lib/modules/$_kernver/kernel/drivers/video/
29 sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='$_kernver'/" $startdir/nvidia.install