[arch-commits] Commit in nvidia-lts/repos/extra-x86_64 (4 files)
Andreas Radke
andyrtr at nymeria.archlinux.org
Fri Feb 14 21:07:22 UTC 2014
Date: Friday, February 14, 2014 @ 22:07:22
Author: andyrtr
Revision: 205959
archrelease: copy trunk to extra-x86_64
Added:
nvidia-lts/repos/extra-x86_64/PKGBUILD
(from rev 205958, nvidia-lts/trunk/PKGBUILD)
nvidia-lts/repos/extra-x86_64/nvidia-lts.install
(from rev 205958, nvidia-lts/trunk/nvidia-lts.install)
Deleted:
nvidia-lts/repos/extra-x86_64/PKGBUILD
nvidia-lts/repos/extra-x86_64/nvidia-lts.install
--------------------+
PKGBUILD | 92 +++++++++++++++++++++++++--------------------------
nvidia-lts.install | 30 ++++++++--------
2 files changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-02-14 20:36:54 UTC (rev 205958)
+++ PKGBUILD 2014-02-14 21:07:22 UTC (rev 205959)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-
-pkgname=nvidia-lts
-pkgver=331.38
-_extramodules=extramodules-3.10-lts
-pkgrel=3
-pkgdesc="NVIDIA drivers for linux-lts"
-arch=('i686' 'x86_64')
-url="http://www.nvidia.com/"
-depends=('linux-lts>=3.10.26' "nvidia-utils=$pkgver" 'nvidia-libgl')
-makedepends=('linux-lts-headers>=3.10.26')
-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=('16aa229f7f118c8cafad6fb3f4ac082e')
-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=('f2059ae373665cb6c8fb826e1173b04d')
-fi
-
-
-build() {
- _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
- sh ${_pkg}.run --extract-only
- cd "${_pkg}/kernel"
- make SYSSRC=/usr/lib/modules/${_kernver}/build module
-}
-
-package() {
- install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
- "${pkgdir}/usr/lib/modules/${_extramodules}/kernel/drivers/video/nvidia.ko"
- gzip "${pkgdir}/usr/lib/modules/${_extramodules}/kernel/drivers/video/nvidia.ko"
- install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
- echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-lts.conf"
- echo "blacklist nvidiafb" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-lts.conf"
- install -D -m644 "${srcdir}/${_pkg}/LICENSE" "${pkgdir}/usr/share/licenses/nvidia-lts/LICENSE"
-}
Copied: nvidia-lts/repos/extra-x86_64/PKGBUILD (from rev 205958, nvidia-lts/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-02-14 21:07:22 UTC (rev 205959)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=nvidia-lts
+pkgver=331.38
+_extramodules=extramodules-3.10-lts
+pkgrel=4
+pkgdesc="NVIDIA drivers for linux-lts"
+arch=('i686' 'x86_64')
+url="http://www.nvidia.com/"
+depends=('linux-lts>=3.10.26' "nvidia-utils=$pkgver" 'nvidia-libgl')
+makedepends=('linux-lts-headers>=3.10.26')
+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=('16aa229f7f118c8cafad6fb3f4ac082e')
+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=('f2059ae373665cb6c8fb826e1173b04d')
+fi
+
+
+build() {
+ _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+ sh ${_pkg}.run --extract-only
+ cd "${_pkg}/kernel"
+ make SYSSRC=/usr/lib/modules/${_kernver}/build module
+}
+
+package() {
+ install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
+ "${pkgdir}/usr/lib/modules/${_extramodules}/kernel/drivers/video/nvidia.ko"
+ gzip "${pkgdir}/usr/lib/modules/${_extramodules}/kernel/drivers/video/nvidia.ko"
+ install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
+ echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-lts.conf"
+ echo "blacklist nvidiafb" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-lts.conf"
+ install -D -m644 "${srcdir}/${_pkg}/LICENSE" "${pkgdir}/usr/share/licenses/nvidia-lts/LICENSE"
+}
Deleted: nvidia-lts.install
===================================================================
--- nvidia-lts.install 2014-02-14 20:36:54 UTC (rev 205958)
+++ nvidia-lts.install 2014-02-14 21:07:22 UTC (rev 205959)
@@ -1,15 +0,0 @@
-post_install() {
- EXTRAMODULES='extramodules-3.10-lts'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
- echo 'In order to use nvidia module, reboot the system.'
-}
-
-post_upgrade() {
- EXTRAMODULES='extramodules-3.10-lts'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
-
-post_remove() {
- EXTRAMODULES='extramodules-3.10-lts'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
Copied: nvidia-lts/repos/extra-x86_64/nvidia-lts.install (from rev 205958, nvidia-lts/trunk/nvidia-lts.install)
===================================================================
--- nvidia-lts.install (rev 0)
+++ nvidia-lts.install 2014-02-14 21:07:22 UTC (rev 205959)
@@ -0,0 +1,15 @@
+post_install() {
+ EXTRAMODULES='extramodules-3.10-lts'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ echo 'In order to use nvidia module, reboot the system.'
+}
+
+post_upgrade() {
+ EXTRAMODULES='extramodules-3.10-lts'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_remove() {
+ EXTRAMODULES='extramodules-3.10-lts'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
More information about the arch-commits
mailing list