Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/nvidia
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-13 21:41:01 +0100
committerErich Eckner <git@eckner.net>2018-02-13 21:41:01 +0100
commitff36e2c1205314c5ea9edbba8b8a7fb6f5f16e28 (patch)
tree55493c32103c1f870a37d42027232db0dad337ca /extra/nvidia
parent42efbd7b67aedfc54f5475c1ed0459fc7da5494b (diff)
extra/nvidia: only change _one_ source, not all
Diffstat (limited to 'extra/nvidia')
-rw-r--r--extra/nvidia/PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/extra/nvidia/PKGBUILD b/extra/nvidia/PKGBUILD
index c34d17af..7b7de795 100644
--- a/extra/nvidia/PKGBUILD
+++ b/extra/nvidia/PKGBUILD
@@ -1,12 +1,12 @@
makedepends+=('libglvnd')
-unset source
-unset sha256sums
-
-source_i686=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run"
- "4.15-FS57305.patch")
-sha512sums_i686=('59f5d832a0372ec5a19e356f3cf9b82f1f704381683eca845092659df03791b21511c32f3c2bb5a263978c86b2008c1fdfde3b3a125100235948291cad99f8b3'
- '145d436f117455a1a8315b31dc2c9fce3c90c135d8c530b8b8da0e70548f48d9')
+for ((i=0; i<${#source[@]}; i++)); do
+ if [ "${source[${i}]}" = "http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run" ]; then
+ source[${i}]="http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run"
+ sha256sum[${i}]='1183552b46409a3c09caa172da5a296b56078d178c5ad272bed7101a40bf6b3a'
+ break
+ fi
+done
_pkg="NVIDIA-Linux-x86-${pkgver}"