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

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