[arch-commits] Commit in nvidia/repos (extra-i686/PKGBUILD extra-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at nymeria.archlinux.org
Wed Feb 20 09:18:33 UTC 2013
Date: Wednesday, February 20, 2013 @ 10:18:33
Author: foutrelis
Revision: 178327
archrelease: copy trunk to extra-i686, extra-x86_64
Deleted:
nvidia/repos/extra-i686/PKGBUILD
nvidia/repos/extra-x86_64/PKGBUILD
-----------------------+
extra-i686/PKGBUILD | 48 ------------------------------------------------
extra-x86_64/PKGBUILD | 48 ------------------------------------------------
2 files changed, 96 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2013-02-20 09:18:01 UTC (rev 178326)
+++ extra-i686/PKGBUILD 2013-02-20 09:18:33 UTC (rev 178327)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer : Thomas Baechler <thomas at archlinux.org>
-
-pkgname=nvidia
-pkgver=313.18
-_extramodules=extramodules-3.7-ARCH
-pkgrel=3
-pkgdesc="NVIDIA drivers for linux."
-arch=('i686' 'x86_64')
-url="http://www.nvidia.com/"
-depends=('linux>=3.7' 'linux<3.8' "nvidia-utils=${pkgver}")
-makedepends=('linux-headers>=3.7' 'linux-headers<3.8')
-conflicts=('nvidia-96xx' 'nvidia-173xx')
-license=('custom')
-install=nvidia.install
-options=(!strip)
-source=("linux-3.7.patch")
-md5sums=('7c684fab691b15d55a79fd8f9b1a224d')
-
-if [ "$CARCH" = "i686" ]; then
- _arch='x86'
- _pkg="NVIDIA-Linux-${_arch}-${pkgver}"
- source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
- md5sums+=('780c37c28a6e06e9571cafe348b7da64')
-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+=('fa17a260793a38b4b8ae367db2e03b39')
-fi
-
-build() {
- _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
- cd "${srcdir}"
- sh "${_pkg}.run" --extract-only
- cd "${_pkg}/kernel"
- patch -Np3 -i "${srcdir}"/linux-3.7.patch
- make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
-}
-
-package() {
- install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
- "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
- install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
- echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia.conf"
- sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "${startdir}/nvidia.install"
- gzip "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
-}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2013-02-20 09:18:01 UTC (rev 178326)
+++ extra-x86_64/PKGBUILD 2013-02-20 09:18:33 UTC (rev 178327)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer : Thomas Baechler <thomas at archlinux.org>
-
-pkgname=nvidia
-pkgver=313.18
-_extramodules=extramodules-3.7-ARCH
-pkgrel=3
-pkgdesc="NVIDIA drivers for linux."
-arch=('i686' 'x86_64')
-url="http://www.nvidia.com/"
-depends=('linux>=3.7' 'linux<3.8' "nvidia-utils=${pkgver}")
-makedepends=('linux-headers>=3.7' 'linux-headers<3.8')
-conflicts=('nvidia-96xx' 'nvidia-173xx')
-license=('custom')
-install=nvidia.install
-options=(!strip)
-source=("linux-3.7.patch")
-md5sums=('7c684fab691b15d55a79fd8f9b1a224d')
-
-if [ "$CARCH" = "i686" ]; then
- _arch='x86'
- _pkg="NVIDIA-Linux-${_arch}-${pkgver}"
- source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
- md5sums+=('780c37c28a6e06e9571cafe348b7da64')
-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+=('fa17a260793a38b4b8ae367db2e03b39')
-fi
-
-build() {
- _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
- cd "${srcdir}"
- sh "${_pkg}.run" --extract-only
- cd "${_pkg}/kernel"
- patch -Np3 -i "${srcdir}"/linux-3.7.patch
- make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
-}
-
-package() {
- install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
- "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
- install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
- echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia.conf"
- sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "${startdir}/nvidia.install"
- gzip "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
-}
More information about the arch-commits
mailing list