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

Ionut Biru ibiru at archlinux.org
Sun Jul 17 10:51:07 EDT 2011


    Date: Sunday, July 17, 2011 @ 10:51:07
  Author: ibiru
Revision: 131922

update to 275.19

Modified:
  nvidia/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++++--------------------
 1 file changed, 19 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-17 14:50:58 UTC (rev 131921)
+++ PKGBUILD	2011-07-17 14:51:07 UTC (rev 131922)
@@ -2,7 +2,7 @@
 # Maintainer : Thomas Baechler <thomas at archlinux.org>
 
 pkgname=nvidia
-pkgver=275.09.07
+pkgver=275.19
 _kernver='2.6.39-ARCH'
 pkgrel=1
 pkgdesc="NVIDIA drivers for kernel26."
@@ -16,30 +16,29 @@
 options=(!strip)
 
 if [ "$CARCH" = "i686" ]; then
-	_arch='x86'
-	_pkg="NVIDIA-Linux-${_arch}-${pkgver}"
-        source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
-        md5sums=('d779057af3a2f96a05ddda201606618b')
+    _arch='x86'
+    _pkg="NVIDIA-Linux-${_arch}-${pkgver}"
+    source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
+    md5sums=('9e74b1913ff5eb6786600d47b64ba57d')
 elif [ "$CARCH" = "x86_64" ]; then
-	_arch='x86_64'
-	_pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
-        source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
-        md5sums=('f75df248f7bf32199ed88db2f080cbfa')
+    _arch='x86_64'
+    _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
+    source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
+    md5sums=('45a6074db3efe961d025afa7a89fa036')
 fi
 
 build() {
-	cd $srcdir
-	sh ${_pkg}.run --extract-only
-	cd ${_pkg}/kernel
- 	make SYSSRC=/lib/modules/${_kernver}/build module
+    cd $srcdir
+    sh ${_pkg}.run --extract-only
+    cd ${_pkg}/kernel
+    make SYSSRC=/lib/modules/${_kernver}/build module
 }
 
 package() {
-	install -D -m644 $srcdir/${_pkg}/kernel/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/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/nvidia.install
-        # gzip -9 all modules to safe 100MB of space
-        find "$pkgdir" -name '*.ko' -exec gzip -9 {} \;
+    install -D -m644 $srcdir/${_pkg}/kernel/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/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/nvidia.install
+    gzip "${pkgdir}/lib/modules/${_kernver}/kernel/drivers/video/nvidia.ko"
 }



More information about the arch-commits mailing list