[arch-commits] Commit in nvidia-lts/repos (5 files)

Tobias Powalowski tpowa at archlinux.org
Fri Mar 9 07:06:54 EST 2012


    Date: Friday, March 9, 2012 @ 07:06:54
  Author: tpowa
Revision: 152727

db-move: moved nvidia-lts from [testing] to [extra] (i686)

Added:
  nvidia-lts/repos/extra-i686/PKGBUILD
    (from rev 152726, nvidia-lts/repos/testing-i686/PKGBUILD)
  nvidia-lts/repos/extra-i686/nvidia-lts.install
    (from rev 152726, nvidia-lts/repos/testing-i686/nvidia-lts.install)
Deleted:
  nvidia-lts/repos/extra-i686/PKGBUILD
  nvidia-lts/repos/extra-i686/nvidia-lts.install
  nvidia-lts/repos/testing-i686/

--------------------+
 PKGBUILD           |   90 +++++++++++++++++++++++++--------------------------
 nvidia-lts.install |   30 ++++++++---------
 2 files changed, 60 insertions(+), 60 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-03-09 12:06:28 UTC (rev 152726)
+++ extra-i686/PKGBUILD	2012-03-09 12:06:54 UTC (rev 152727)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=nvidia-lts
-pkgver=295.20
-_extramodules=extramodules-3.0-lts
-pkgrel=1
-pkgdesc="NVIDIA drivers for linux-lts"
-arch=('i686' 'x86_64')
-url="http://www.nvidia.com/"
-depends=('linux-lts>=3.0.0' "nvidia-utils=$pkgver")
-makedepends=('linux-lts-headers>=3.0.0')
-provides=('nvidia')
-license=('custom')
-install=nvidia-lts.install
-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=('a6f702271da49930a17e28b5928fe75a')
-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=('79b05cffa482234833ae1c4bb40664c3')
-fi
-
-build() {
-  _kernver="$(cat /lib/modules/${_extramodules}/version)"
-  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/${_extramodules}/kernel/drivers/video/nvidia.ko"
-  gzip "${pkgdir}/lib/modules/${_extramodules}/kernel/drivers/video/nvidia.ko"
-  install -d -m755 "${pkgdir}/lib/modprobe.d"
-  echo "blacklist nouveau" >> "${pkgdir}/lib/modprobe.d/nvidia-lts.conf"
-  echo "blacklist nvidiafb" >> "${pkgdir}/lib/modprobe.d/nvidia-lts.conf"
-  install -D -m644 "${srcdir}/${_pkg}/LICENSE" "${pkgdir}/usr/share/licenses/nvidia-lts/LICENSE"
-}

Copied: nvidia-lts/repos/extra-i686/PKGBUILD (from rev 152726, nvidia-lts/repos/testing-i686/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-03-09 12:06:54 UTC (rev 152727)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=nvidia-lts
+pkgver=295.20
+_extramodules=extramodules-3.0-lts
+pkgrel=2
+pkgdesc="NVIDIA drivers for linux-lts"
+arch=('i686' 'x86_64')
+url="http://www.nvidia.com/"
+depends=('linux-lts>=3.0.0' "nvidia-utils=$pkgver")
+makedepends=('linux-lts-headers>=3.0.0')
+provides=('nvidia')
+license=('custom')
+install=nvidia-lts.install
+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=('a6f702271da49930a17e28b5928fe75a')
+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=('79b05cffa482234833ae1c4bb40664c3')
+fi
+
+build() {
+  _kernver="$(cat /lib/modules/${_extramodules}/version)"
+  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/${_extramodules}/kernel/drivers/video/nvidia.ko"
+  gzip "${pkgdir}/lib/modules/${_extramodules}/kernel/drivers/video/nvidia.ko"
+  install -d -m755 "${pkgdir}/lib/modprobe.d"
+  echo "blacklist nouveau" >> "${pkgdir}/lib/modprobe.d/nvidia-lts.conf"
+  echo "blacklist nvidiafb" >> "${pkgdir}/lib/modprobe.d/nvidia-lts.conf"
+  install -D -m644 "${srcdir}/${_pkg}/LICENSE" "${pkgdir}/usr/share/licenses/nvidia-lts/LICENSE"
+}

Deleted: extra-i686/nvidia-lts.install
===================================================================
--- extra-i686/nvidia-lts.install	2012-03-09 12:06:28 UTC (rev 152726)
+++ extra-i686/nvidia-lts.install	2012-03-09 12:06:54 UTC (rev 152727)
@@ -1,15 +0,0 @@
-post_install() {
-    EXTRAMODULES='extramodules-3.0-lts'
-    depmod $(cat /lib/modules/$EXTRAMODULES/version)
-    echo 'In order to use nvidia module, reboot the system.'
-}
-
-post_upgrade() {
-    EXTRAMODULES='extramodules-3.0-lts'
-    depmod $(cat /lib/modules/$EXTRAMODULES/version)
-}
-
-post_remove() {
-    EXTRAMODULES='extramodules-3.0-lts'
-    depmod $(cat /lib/modules/$EXTRAMODULES/version)
-}

Copied: nvidia-lts/repos/extra-i686/nvidia-lts.install (from rev 152726, nvidia-lts/repos/testing-i686/nvidia-lts.install)
===================================================================
--- extra-i686/nvidia-lts.install	                        (rev 0)
+++ extra-i686/nvidia-lts.install	2012-03-09 12:06:54 UTC (rev 152727)
@@ -0,0 +1,15 @@
+post_install() {
+    EXTRAMODULES='extramodules-3.0-lts'
+    depmod $(cat /lib/modules/$EXTRAMODULES/version)
+    echo 'In order to use nvidia module, reboot the system.'
+}
+
+post_upgrade() {
+    EXTRAMODULES='extramodules-3.0-lts'
+    depmod $(cat /lib/modules/$EXTRAMODULES/version)
+}
+
+post_remove() {
+    EXTRAMODULES='extramodules-3.0-lts'
+    depmod $(cat /lib/modules/$EXTRAMODULES/version)
+}



More information about the arch-commits mailing list