summaryrefslogtreecommitdiff
path: root/extra/nvidia-390xx-utils
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-15 14:05:26 +0200
committerErich Eckner <git@eckner.net>2018-05-15 14:05:26 +0200
commit0121854d37fcf5ee32d0da4610b9dfa81e2cc5da (patch)
treeff806b0d10ba4c8a075555839fba1f04a3b57fc8 /extra/nvidia-390xx-utils
parent77d175c261fc4e887edb0a8e532aea909525b68b (diff)
downloadpackages-0121854d37fcf5ee32d0da4610b9dfa81e2cc5da.tar.xz
extra/nvidia-390xx-lts,extra/nvidia-390xx-utils,extra/nvidia-390xx: new
Diffstat (limited to 'extra/nvidia-390xx-utils')
-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'
+