diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-01-28 22:32:29 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-01-28 22:32:29 (GMT) |
commit | 62e1a967e7607b11b12ff2fd0228b8ae7712f770 (patch) | |
tree | d8d0aae84fef7896e5e73581891519ad6e582367 /abs/core/nvidia | |
parent | 3cb8ebc3c5cb380713e74ce72e8ad0517a1c4d0d (diff) | |
download | linhes_pkgbuild-62e1a967e7607b11b12ff2fd0228b8ae7712f770.zip linhes_pkgbuild-62e1a967e7607b11b12ff2fd0228b8ae7712f770.tar.gz linhes_pkgbuild-62e1a967e7607b11b12ff2fd0228b8ae7712f770.tar.bz2 |
nvidia: update to 346.35
Diffstat (limited to 'abs/core/nvidia')
-rw-r--r-- | abs/core/nvidia/PKGBUILD | 22 |
1 files 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 <thomas@archlinux.org> 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" |