Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/nvidia-390xx-lts/PKGBUILD
blob: e8aad1a61a8857dcfcf9ecf4ed580a336f7af707 (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"
sha512sums[${i}]='9d80616abbf1f95c89bb3e6bda864708adc887a62ccdf8865e956c305bb013b0e54ffb3f495805363ee60a9115ab5fb38adf1534750a6afb69a457a4d034daeb'
_pkg="NVIDIA-Linux-x86-${pkgver}"

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