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

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