summaryrefslogtreecommitdiff
path: root/extra/nvidia-utils/PKGBUILD
blob: 7b68f27f17ea26c565de86841f222bd22eb71b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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}]='ba9362123a75f85a0a5a9dcc95c06bcb350a8dff2db864db30a73172db44006fa39eee8e23cf959ab2012b61b922d1f0d7ab225329815737819f27d1be300b95'

_arch='x86'
_pkg="${_pkg%-no-compat32}"
_pkg="${_pkg/x86_64/x86}"