summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia-340xx-utils
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/nvidia-340xx-utils')
-rw-r--r--abs/core/nvidia-340xx-utils/PKGBUILD8
-rw-r--r--abs/core/nvidia-340xx-utils/nvidia-340xx-utils.install18
2 files changed, 11 insertions, 15 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 <iphitus@gmail.com>
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
}