diff options
author | Erich Eckner <git@eckner.net> | 2018-05-15 14:10:35 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-15 14:10:35 +0200 |
commit | 75f2f94558076b14b40b93349f935db001b89d33 (patch) | |
tree | cc765ca51848bc9047b011eb6b3bbedea46c9985 /extra | |
parent | 0121854d37fcf5ee32d0da4610b9dfa81e2cc5da (diff) | |
download | packages-75f2f94558076b14b40b93349f935db001b89d33.tar.xz |
extra/nvidia-340xx-lts: override source instead of source_i686 - just like with the other nvidia-* packages
Diffstat (limited to 'extra')
-rw-r--r-- | extra/nvidia-340xx-lts/PKGBUILD | 10 |
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}" |