summaryrefslogtreecommitdiff
path: root/extra/nvidia-390xx/PKGBUILD
blob: 39356b93badf508bbf725ae9fc3d657f8801cfe6 (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"
sha256sums[${i}]='6f4af70ee3d03ed31c497a5d555164c56057b53ecedfc0d2c8de4b0b90728805'
_pkg="NVIDIA-Linux-x86-${pkgver}"

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