Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/nvidia-340xx-lts/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-15 14:10:35 +0200
committerErich Eckner <git@eckner.net>2018-05-15 14:10:35 +0200
commit75f2f94558076b14b40b93349f935db001b89d33 (patch)
treecc765ca51848bc9047b011eb6b3bbedea46c9985 /extra/nvidia-340xx-lts/PKGBUILD
parent0121854d37fcf5ee32d0da4610b9dfa81e2cc5da (diff)
extra/nvidia-340xx-lts: override source instead of source_i686 - just like with the other nvidia-* packages
Diffstat (limited to 'extra/nvidia-340xx-lts/PKGBUILD')
-rw-r--r--extra/nvidia-340xx-lts/PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/extra/nvidia-340xx-lts/PKGBUILD b/extra/nvidia-340xx-lts/PKGBUILD
index eabeca50..66555700 100644
--- a/extra/nvidia-340xx-lts/PKGBUILD
+++ b/extra/nvidia-340xx-lts/PKGBUILD
@@ -1,3 +1,9 @@
-source_i686+=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run")
-md5sums_i686=('a2895c566341506677d8293b4aec0dc0')
+for ((i=${#source[@]}; i>0; i--)); do
+ if [ "${source[${i}]}" = "http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run" ]; then
+ break;
+ fi
+done
+
+source[${i}]="http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run"
+sha512sums[${i}]='923da7d61ef89a7bd83e0223c72fcdc556ef31cb97015a129a3adbdc3aad29dbf49f6fd23dc5188a53722e22cf4ba35c6a98e6ca9fdc6c24bb72ab87153d8bc4'
_pkg="NVIDIA-Linux-x86-${pkgver}"