summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/nvidia-173xx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/nvidia-173xx/PKGBUILD')
-rw-r--r--abs/core-testing/nvidia-173xx/PKGBUILD38
1 files changed, 0 insertions, 38 deletions
diff --git a/abs/core-testing/nvidia-173xx/PKGBUILD b/abs/core-testing/nvidia-173xx/PKGBUILD
deleted file mode 100644
index 83d4b8d..0000000
--- a/abs/core-testing/nvidia-173xx/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 28363 2009-03-01 00:06:27Z pierre $
-# Maintainer : Thomas Baechler <thomas@archlinux.org>
-
-pkgname=nvidia-173xx
-pkgver=173.14.27
-_kernver='2.6.34-LinHES'
-pkgrel=1
-pkgdesc="NVIDIA drivers for kernel26, 173xx branch."
-arch=('i686' 'x86_64')
-[ "$CARCH" = "i686" ] && ARCH=x86
-[ "$CARCH" = "x86_64" ] && ARCH=x86_64
-url="http://www.nvidia.com/"
-depends=('kernel26>=2.6.34' 'kernel26<2.6.35' 'nvidia-173xx-utils')
-makedepends=('kernel26-headers>=2.6.34' 'kernel26-headers<2.6.35')
-conflicts=('nvidia-96xx' 'nvidia')
-license=('custom')
-install=nvidia.install
-source=("http://download.nvidia.com/XFree86/Linux-$ARCH/${pkgver}/NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run")
-md5sums=('35a6531f71cd6b070f10be8ed11093d4')
-[ "$CARCH" = "x86_64" ] && md5sums=('269425dbc2d9d4ecdc54692281d6d738')
-
-build() {
- cd $srcdir
- sh NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run --extract-only
- cd NVIDIA-Linux-$ARCH-${pkgver}-pkg0
- cd usr/src/nv/
- ln -s Makefile.kbuild Makefile
- make SYSSRC=/lib/modules/${_kernver}/build module || return 1
-}
-
-package() {
- cd $srcdir/NVIDIA-Linux-$ARCH-${pkgver}-pkg0/usr/src/nv/
- mkdir -p $pkgdir/lib/modules/${_kernver}/kernel/drivers/video/
- install -m644 nvidia.ko $pkgdir/lib/modules/${_kernver}/kernel/drivers/video/
- mkdir -p $pkgdir/etc/modprobe.d
- echo "blacklist nouveau" >> $pkgdir/etc/modprobe.d/nouveau_blacklist.conf || return 1
- sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/nvidia.install
-}