Update nvidia-custom to 331.20

This commit is contained in:
Tom Willemse 2013-11-25 09:33:44 +01:00
parent 4b971ffc8d
commit 49f367ea29

View file

@ -1,10 +1,10 @@
# $Id: PKGBUILD 194514 2013-09-17 06:52:19Z tpowa $ # $Id: PKGBUILD 199771 2013-11-15 21:40:40Z svenstaro $
# Maintainer : Thomas Baechler <thomas@archlinux.org> # Maintainer : Thomas Baechler <thomas@archlinux.org>
pkgname=nvidia-custom pkgname=nvidia-custom
pkgver=325.15 pkgver=331.20
_extramodules=extramodules-3.12-custom _extramodules=extramodules-3.12-custom
pkgrel=12 pkgrel=1
pkgdesc="NVIDIA drivers for linux" pkgdesc="NVIDIA drivers for linux"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.nvidia.com/" url="http://www.nvidia.com/"
@ -14,26 +14,25 @@ conflicts=('nvidia-96xx' 'nvidia-173xx')
license=('custom') license=('custom')
install=nvidia.install install=nvidia.install
options=(!strip) options=(!strip)
source=('nvidia-linux-3.12.patch') #source=('nvidia-linux-3.12.patch')
md5sums=('d267069bc456de269424b4e1b46a3745') #md5sums=('d267069bc456de269424b4e1b46a3745')
if [ "$CARCH" = "i686" ]; then if [ "$CARCH" = "i686" ]; then
_arch='x86' _arch='x86'
_pkg="NVIDIA-Linux-${_arch}-${pkgver}" _pkg="NVIDIA-Linux-${_arch}-${pkgver}"
source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
md5sums+=('528fc538584de6446384b9cec3099d6c') md5sums+=('801aa04a087891690f1cac09575b2ba9')
elif [ "$CARCH" = "x86_64" ]; then elif [ "$CARCH" = "x86_64" ]; then
_arch='x86_64' _arch='x86_64'
_pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32" _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
md5sums+=('63b2caa0cb128efa1a7808d7bddb2074') md5sums+=('28295eed56c2ca996401c0093279620f')
fi fi
prepare() { prepare() {
cd "${srcdir}" cd "${srcdir}"
sh "${_pkg}.run" --extract-only sh "${_pkg}.run" --extract-only
cd "${_pkg}" cd "${_pkg}"
patch -Np1 -i ${srcdir}/nvidia-linux-3.12.patch
} }
build() { build() {