diff options
Diffstat (limited to 'abs/core/nvidia/PKGBUILD')
-rw-r--r-- | abs/core/nvidia/PKGBUILD | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/abs/core/nvidia/PKGBUILD b/abs/core/nvidia/PKGBUILD index 5c42e7b..cafec22 100644 --- a/abs/core/nvidia/PKGBUILD +++ b/abs/core/nvidia/PKGBUILD @@ -1,38 +1,32 @@ -# $Id: PKGBUILD 202756 2013-12-26 13:03:42Z thomas $ +# $Id$ # Maintainer : Thomas Baechler <thomas@archlinux.org> pkgname=nvidia -pkgver=331.20 -_extramodules=extramodules-3.12-ARCH -pkgrel=3 +pkgver=331.49 +_extramodules=extramodules-3.13-ARCH +pkgrel=1 pkgdesc="NVIDIA drivers for linux" arch=('i686' 'x86_64') url="http://www.nvidia.com/" -depends=('linux>=3.12' 'linux<3.13' "nvidia-libgl" "nvidia-utils=${pkgver}") -makedepends=('linux-headers>=3.12' 'linux-headers<3.13') +depends=('linux>=3.13' 'linux<3.14' "nvidia-libgl" "nvidia-utils=${pkgver}") +makedepends=('linux-headers>=3.13' 'linux-headers<3.14') conflicts=('nvidia-96xx' 'nvidia-173xx') license=('custom') install=nvidia.install options=(!strip) -#source=('nvidia-linux-3.12.patch') -#md5sums=('d267069bc456de269424b4e1b46a3745') +source=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run" + "ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run") +md5sums=('176c77f9a10eaa652860dbc24042bff2' + 'd0c944466a36cae8b1e23330b27a721c') -if [ "$CARCH" = "i686" ]; then - _arch='x86' - _pkg="NVIDIA-Linux-${_arch}-${pkgver}" - source+=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") - 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+=('28295eed56c2ca996401c0093279620f') -fi +[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" +[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" prepare() { cd "${srcdir}" sh "${_pkg}.run" --extract-only cd "${_pkg}" + # patches here } build() { @@ -49,4 +43,3 @@ package() { sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "${startdir}/nvidia.install" gzip "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko" } -md5sums=('28295eed56c2ca996401c0093279620f') |