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

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