[arch-commits] Commit in nvidia-173xx/trunk (PKGBUILD)

Thomas Bächler thomas at archlinux.org
Mon Jul 26 12:46:06 EDT 2010


    Date: Monday, July 26, 2010 @ 12:46:06
  Author: thomas
Revision: 86138

Readd nvidia 173xx with xorg 1.8 support

Modified:
  nvidia-173xx/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-26 16:45:47 UTC (rev 86137)
+++ PKGBUILD	2010-07-26 16:46:06 UTC (rev 86138)
@@ -2,9 +2,9 @@
 # Maintainer : Thomas Baechler <thomas at archlinux.org>
 
 pkgname=nvidia-173xx
-pkgver=173.14.25
+pkgver=173.14.27
 _kernver='2.6.34-ARCH'
-pkgrel=3
+pkgrel=1
 pkgdesc="NVIDIA drivers for kernel26, 173xx branch."
 arch=('i686' 'x86_64')
 [ "$CARCH" = "i686"   ] && ARCH=x86
@@ -16,8 +16,8 @@
 license=('custom')
 install=nvidia.install
 source=("http://download.nvidia.com/XFree86/Linux-$ARCH/${pkgver}/NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run")
-md5sums=('397bac51f760505ea57e863c1db9c572')
-[ "$CARCH" = "x86_64" ] && md5sums=('a61b6c1627984f93af73eb446a8beb5e')
+md5sums=('35a6531f71cd6b070f10be8ed11093d4')
+[ "$CARCH" = "x86_64" ] && md5sums=('269425dbc2d9d4ecdc54692281d6d738')
 
 build() {
 	cd $srcdir
@@ -26,11 +26,13 @@
 	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
 }
-



More information about the arch-commits mailing list