From e48d10bab10c9a87fed652fb97af655977476862 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Mon, 16 Mar 2015 17:43:15 +0000 Subject: nvidia-340xx & nvidia-340xx-utils: update to 340.76 --- abs/core/nvidia-340xx-utils/PKGBUILD | 8 ++++---- abs/core/nvidia-340xx-utils/nvidia-340xx-utils.install | 18 +++++++----------- abs/core/nvidia-340xx/PKGBUILD | 8 ++++---- 3 files changed, 15 insertions(+), 19 deletions(-) diff --git a/abs/core/nvidia-340xx-utils/PKGBUILD b/abs/core/nvidia-340xx-utils/PKGBUILD index 46681f7..5edb627 100644 --- a/abs/core/nvidia-340xx-utils/PKGBUILD +++ b/abs/core/nvidia-340xx-utils/PKGBUILD @@ -4,16 +4,16 @@ # Contributor: James Rayner pkgbase=nvidia-340xx-utils pkgname=('nvidia-340xx-utils' 'nvidia-340xx-libgl' 'opencl-nvidia-340xx') -pkgver=340.65 -pkgrel=1 +pkgver=340.76 +pkgrel=2 arch=('i686' 'x86_64') url="http://www.nvidia.com/" license=('custom') 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") -sha1sums=('051a5b6aad243c5b57ed18455a91f9aa028de86d' - '2b1a102e87740ebb5367a5e8cd76d4f38de2add1') +sha1sums=('1335af174324f5c752388110e65c3c51beea729b' + '2df59750d9fdeed613e84379108fb2bec67afd14') [[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" [[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" diff --git a/abs/core/nvidia-340xx-utils/nvidia-340xx-utils.install b/abs/core/nvidia-340xx-utils/nvidia-340xx-utils.install index df17a32..1955c64 100644 --- a/abs/core/nvidia-340xx-utils/nvidia-340xx-utils.install +++ b/abs/core/nvidia-340xx-utils/nvidia-340xx-utils.install @@ -1,14 +1,10 @@ -post_install() { - if ! getent group nvidia-persistenced >/dev/null; then - groupadd -g 143 nvidia-persistenced - fi - if ! getent passwd nvidia-persistenced >/dev/null; then - useradd -c 'NVIDIA Persistence Daemon' -u 143 -g nvidia-persistenced -d '/' -s /sbin/nologin nvidia-persistenced - fi +post_upgrade() { + echo "If you run into trouble with CUDA not being available, run nvidia-modprobe first." } -post_remove() { - if getent group nvidia-persistenced >/dev/null; then - userdel -f nvidia-persistenced - fi +post_install() { + getent group nvidia-persistenced &>/dev/null || groupadd -g 143 nvidia-persistenced + getent passwd nvidia-persistenced &>/dev/null || useradd -c 'NVIDIA Persistence Daemon' -u 143 -g nvidia-persistenced -d '/' -s /sbin/nologin nvidia-persistenced + + post_upgrade } diff --git a/abs/core/nvidia-340xx/PKGBUILD b/abs/core/nvidia-340xx/PKGBUILD index 30134be..2f7a95a 100644 --- a/abs/core/nvidia-340xx/PKGBUILD +++ b/abs/core/nvidia-340xx/PKGBUILD @@ -2,9 +2,9 @@ # Maintainer : Thomas Baechler pkgname=nvidia-340xx -pkgver=340.65 +pkgver=340.76 _extramodules=extramodules-3.18-ARCH -pkgrel=8 +pkgrel=5 pkgdesc="NVIDIA drivers for linux, 340xx legacy branch" arch=('i686' 'x86_64') url="http://www.nvidia.com/" @@ -17,8 +17,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.patch) -md5sums=('4aa6039b8543312b41a924bb87b0b2db' - '4558104f8601d27c7fd3e5cec7892345' +md5sums=('8064c0a0998c3e7ee3c98ac1832b8194' + '440df290e213280d6e20d4d4be6f8b4c' '79671a27131da619a33eb02ed0c2c031') [[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" -- cgit v0.12