summaryrefslogtreecommitdiff
path: root/extra/nvidia-390xx/PKGBUILD
blob: 584e8b7c7b643d3e59e84c2714b6d51c4fc82790 (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}]='5c29c5f9d80a07ea71219c6323fe5fc9b7577847b970f23161685d4b890b9966'
_pkg="NVIDIA-Linux-x86-${pkgver}"

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