summaryrefslogtreecommitdiff
path: root/extra/nvidia-390xx-lts/PKGBUILD
blob: 7e24fea02730cf603d1fdb743d278ee9ce255cb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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}]='14ba06303c28715032a9efe30010b39a5b0a8f40e3e0abc86ddfc6cb4d686ce4bc2db8bfc2bb3d7a5f4de9648178d2fd54b966277900d95bd20dab8dec487385'
_pkg="NVIDIA-Linux-x86-${pkgver}"

eval "$(
  declare -f package_nvidia-390xx-lts | \
    sed '
      s/,-uvm//
    '
)"