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

Eric Bélanger eric at archlinux.org
Sat Jan 29 23:50:31 EST 2011


    Date: Saturday, January 29, 2011 @ 23:50:31
  Author: eric
Revision: 108137

upgpkg: nvidia-lts 260.19.36-2
Fixed license

Modified:
  nvidia-lts/trunk/PKGBUILD

----------+
 PKGBUILD |   35 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-30 02:42:48 UTC (rev 108136)
+++ PKGBUILD	2011-01-30 04:50:31 UTC (rev 108137)
@@ -4,7 +4,7 @@
 pkgname=nvidia-lts
 pkgver=260.19.36
 _kernver='2.6.32-lts'
-pkgrel=1
+pkgrel=2
 pkgdesc="NVIDIA drivers for kernel26-lts"
 arch=('i686' 'x86_64')
 url="http://www.nvidia.com/"
@@ -14,27 +14,28 @@
 license=('custom')
 install=nvidia-lts.install
 if [ "$CARCH" = "i686" ]; then
-	_arch='x86'
-	_pkg="NVIDIA-Linux-${_arch}-${pkgver}"
-        source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
-        md5sums=('2826484d87827351774449382e45c4a9')
+  _arch='x86'
+  _pkg="NVIDIA-Linux-${_arch}-${pkgver}"
+  source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
+  md5sums=('2826484d87827351774449382e45c4a9')
 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=('6ebc5db9066e920b0b0e48377ce5eeb5')
+  _arch='x86_64'
+  _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
+  source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
+  md5sums=('6ebc5db9066e920b0b0e48377ce5eeb5')
 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-lts.conf"
+  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-lts.conf"
+  install -D -m644 "${srcdir}/${_pkg}/LICENSE" "${pkgdir}/usr/share/licenses/nvidia-lts/LICENSE"
 }



More information about the arch-commits mailing list