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

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