Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/nvidia-390xx/PKGBUILD
blob: e43fff842545fa9646143d54eb3715f7f692865f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}"
sha256sums=("${sha256sums[@]//d92899d4f7a40e2c3cad92d067f2f53c3a18c49b34e62e707a93b125aa37640f/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855}")

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