From d4d8346e630d1ce6d63229a800532c1e85c123c6 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Tue, 25 Jan 2022 14:31:08 +0100 Subject: [PATCH] 470.62.22 --- PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 66b39af..9ef03e0 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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: 470.62.20\n 2.510 series: 510.39.01\n 3.495 series: 495.46\n 4.470 series: 470.94\n 5.465 series: 465.31\n 6.460 series: 460.91.03\n 7.455 series: 455.45.01\n 7.450 series: 450.119.03\n 9.440 series: 440.100 (kernel 5.8 or lower)\n 10.435 series: 435.21 (kernel 5.6 or lower)\n 11.430 series: 430.64 (kernel 5.5 or lower)\n 12.418 series: 418.113 (kernel 5.5 or lower)\n 13.415 series: 415.27 (kernel 5.4 or lower)\n 14.410 series: 410.104 (kernel 5.5 or lower)\n 15.396 series: 396.54 (kernel 5.3 or lower, 5.1 or lower recommended)\n 16.Custom version (396.xx series or higher)\n choice[1-16?]: '`" CONDITION; + read -p " What driver version do you want?`echo $'\n > 1.Vulkan dev: 470.62.22\n 2.510 series: 510.39.01\n 3.495 series: 495.46\n 4.470 series: 470.94\n 5.465 series: 465.31\n 6.460 series: 460.91.03\n 7.455 series: 455.45.01\n 7.450 series: 450.119.03\n 9.440 series: 440.100 (kernel 5.8 or lower)\n 10.435 series: 435.21 (kernel 5.6 or lower)\n 11.430 series: 430.64 (kernel 5.5 or lower)\n 12.418 series: 418.113 (kernel 5.5 or lower)\n 13.415 series: 415.27 (kernel 5.4 or lower)\n 14.410 series: 410.104 (kernel 5.5 or lower)\n 15.396 series: 396.54 (kernel 5.3 or lower, 5.1 or lower recommended)\n 16.Custom version (396.xx series or higher)\n choice[1-16?]: '`" CONDITION; fi # This will be treated as the latest regular driver. if [ "$CONDITION" = "2" ]; then @@ -121,8 +121,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=470.62.20' > options - echo '_md5sum=9713a09b84b69f6dba645a50e1e147d4' >> options + echo '_driver_version=470.62.22' > options + echo '_md5sum=903c9e5dce1d1f76403c9e14499239da' >> options echo '_driver_branch=vulkandev' >> options fi # Package type selector @@ -234,7 +234,7 @@ fi pkgname=("${_pkgname_array[@]}") pkgver=$_driver_version -pkgrel=194 +pkgrel=195 arch=('x86_64') url="http://www.nvidia.com/" license=('custom:NVIDIA') @@ -456,9 +456,9 @@ DEST_MODULE_LOCATION[3]="/kernel/drivers/video"' dkms.conf fi for _kernel in "${_kernels[@]}"; do # Use separate source directories - cp -r kernel kernel-$_kernel + cp -r kernel kernel-"$_kernel" - cd "$srcdir"/"$_pkg"/kernel-$_kernel + cd "$srcdir"/"$_pkg"/kernel-"$_kernel" if (( ${pkgver%%.*} <= 455 )); then msg2 "Applying linux-version.diff for $_kernel..." patch -p2 -i "$srcdir"/linux-version.diff