525.47.04

This commit is contained in:
Tk-Glitch 2022-12-19 15:24:50 +01:00
parent dd871be510
commit 38caa4222f

View File

@ -48,7 +48,7 @@ if [ -z "$_driver_version" ] || [ "$_driver_version" = "latest" ] || [ -z "$_dri
fi
fi
if [[ -z $CONDITION ]]; then
read -p " What driver version do you want?`echo $'\n > 1.Vulkan dev: 515.49.25\n 2.525 series: 525.60.11\n 3.520 series: 520.56.06\n 4.515 series: 515.86.01\n 5.510 series: 510.85.02\n 6.495 series: 495.46\n 7.470 series: 470.161.03\n 8.Older series\n 9.Custom version (396.xx series or higher)\n choice[1-9?]: '`" CONDITION;
read -p " What driver version do you want?`echo $'\n > 1.Vulkan dev: 525.47.04\n 2.525 series: 525.60.11\n 3.520 series: 520.56.06\n 4.515 series: 515.86.01\n 5.510 series: 510.85.02\n 6.495 series: 495.46\n 7.470 series: 470.161.03\n 8.Older series\n 9.Custom version (396.xx series or higher)\n choice[1-9?]: '`" CONDITION;
fi
# This will be treated as the latest regular driver.
if [ "$CONDITION" = "2" ]; then
@ -136,8 +136,8 @@ if [ -z "$_driver_version" ] || [ "$_driver_version" = "latest" ] || [ -z "$_dri
echo "_driver_version=$_driver_version" >> options
# This (condition 1) will be treated as the latest Vulkan developer driver.
else
echo '_driver_version=515.49.25' > options
echo '_md5sum=fa81f302ab12a92989db1bc00bde24c0' >> options
echo '_driver_version=525.47.04' > options
echo '_md5sum=f471a7842e4431cb401eac76c644d284' >> options
echo '_driver_branch=vulkandev' >> options
fi
# Package type selector
@ -281,7 +281,7 @@ fi
pkgname=("${_pkgname_array[@]}")
pkgver=$_driver_version
pkgrel=231
pkgrel=232
arch=('x86_64')
url="http://www.nvidia.com/"
license=('custom:NVIDIA')
@ -295,7 +295,9 @@ _pkg="NVIDIA-Linux-x86_64-$pkgver"
# Source
if [ "$_driver_branch" = "vulkandev" ]; then
if [[ $pkgver = 396* ]]; then
if (( ${pkgver%%.*} >= 525 )); then
_source_name="NVIDIA-Linux-x86_64-$pkgver.run::https://developer.nvidia.com/downloads/vulkan-beta-${pkgver//.}-linux"
elif [[ $pkgver = 396* ]]; then
_source_name="NVIDIA-Linux-x86_64-$pkgver.run::https://developer.nvidia.com/linux-${pkgver//.}"
else
_source_name="NVIDIA-Linux-x86_64-$pkgver.run::https://developer.nvidia.com/vulkan-beta-${pkgver//.}-linux"