summaryrefslogtreecommitdiff
path: root/extra/nvidia-390xx-utils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nvidia-390xx-utils/PKGBUILD')
-rw-r--r--extra/nvidia-390xx-utils/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/nvidia-390xx-utils/PKGBUILD b/extra/nvidia-390xx-utils/PKGBUILD
new file mode 100644
index 00000000..4f32ebd4
--- /dev/null
+++ b/extra/nvidia-390xx-utils/PKGBUILD
@@ -0,0 +1,12 @@
+_arch='x86'
+_pkg="${_pkg%-no-compat32}"
+_pkg="${_pkg/x86_64/x86}"
+
+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}]='9d80616abbf1f95c89bb3e6bda864708adc887a62ccdf8865e956c305bb013b0e54ffb3f495805363ee60a9115ab5fb38adf1534750a6afb69a457a4d034daeb'
+