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>
pkgname=nvidia-custom
pkgver=325.15
pkgver=331.20
_extramodules=extramodules-3.12-custom
pkgrel=12
pkgrel=1
pkgdesc="NVIDIA drivers for linux"
arch=('i686' 'x86_64')
url="http://www.nvidia.com/"
@ -14,26 +14,25 @@ conflicts=('nvidia-96xx' 'nvidia-173xx')
license=('custom')
install=nvidia.install
options=(!strip)
source=('nvidia-linux-3.12.patch')
md5sums=('d267069bc456de269424b4e1b46a3745')
#source=('nvidia-linux-3.12.patch')
#md5sums=('d267069bc456de269424b4e1b46a3745')
if [ "$CARCH" = "i686" ]; then
_arch='x86'
_pkg="NVIDIA-Linux-${_arch}-${pkgver}"
source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
md5sums+=('528fc538584de6446384b9cec3099d6c')
md5sums+=('801aa04a087891690f1cac09575b2ba9')
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+=('63b2caa0cb128efa1a7808d7bddb2074')
md5sums+=('28295eed56c2ca996401c0093279620f')
fi
prepare() {
cd "${srcdir}"
sh "${_pkg}.run" --extract-only
cd "${_pkg}"
patch -Np1 -i ${srcdir}/nvidia-linux-3.12.patch
}
build() {