summaryrefslogtreecommitdiff
path: root/extra/nvidia-utils/PKGBUILD
blob: 0a4aa6be2e06325bf32db17593756b23cab81f79 (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}]='079cfae9ce318e30d8699c7a1e9b8fc528382be68605ceea16b5cb671d11588098af001b6cb4c66c904a248193742efc450e18101f9dda73c1ca101ab8aca2ce'

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