From 62e1a967e7607b11b12ff2fd0228b8ae7712f770 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 28 Jan 2015 22:32:29 +0000 Subject: nvidia: update to 346.35 --- abs/core/nvidia/PKGBUILD | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/abs/core/nvidia/PKGBUILD b/abs/core/nvidia/PKGBUILD index aa26b1b..991e153 100644 --- a/abs/core/nvidia/PKGBUILD +++ b/abs/core/nvidia/PKGBUILD @@ -2,9 +2,9 @@ # Maintainer : Thomas Baechler pkgname=nvidia -pkgver=343.36 +pkgver=346.35 _extramodules=extramodules-3.18-ARCH -pkgrel=6 +pkgrel=4 pkgdesc="NVIDIA drivers for linux" arch=('i686' 'x86_64') url="http://www.nvidia.com/" @@ -16,8 +16,8 @@ options=(!strip) 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" nv-drm-343.36.patch) -md5sums=('eae5d5407df0b371929a76f96aec4020' - 'dfdf53ee8787455fe92a760ffa6badcb' +md5sums=('d2b8f7f90ef5037f03f94519f9809511' + '9ca9f07f91361362f304ca8317ddd453' 'ff8a5f979e4428f8c847423fb007042c') [[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" @@ -35,15 +35,21 @@ build() { cd "${_pkg}"/kernel make SYSSRC=/usr/lib/modules/"${_kernver}/build" module - cd uvm - make SYSSRC=/usr/lib/modules/"${_kernver}/build" module + if [[ "$CARCH" = "x86_64" ]]; then + cd uvm + make SYSSRC=/usr/lib/modules/"${_kernver}/build" module + fi } package() { install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \ "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko" - install -D -m644 "${srcdir}/${_pkg}/kernel/uvm/nvidia-uvm.ko" \ - "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-uvm.ko" + + if [[ "$CARCH" = "x86_64" ]]; then + install -D -m644 "${srcdir}/${_pkg}/kernel/uvm/nvidia-uvm.ko" \ + "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-uvm.ko" + fi + gzip "${pkgdir}/usr/lib/modules/${_extramodules}/"*.ko install -d -m755 "${pkgdir}/usr/lib/modprobe.d" echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia.conf" -- cgit v0.12