Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/nvidia/PKGBUILD
blob: b565b82051cb42f9c1537bca1b8f392ee0b9f910 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
makedepends+=('libglvnd')

for ((i=0; i<${#source[@]}; i++)); do
  if [ "${source[${i}]}" = "http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run" ]; then
    source[${i}]="http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run"
    sha256sums[${i}]='1183552b46409a3c09caa172da5a296b56078d178c5ad272bed7101a40bf6b3a'
    break
  fi
done

_pkg="NVIDIA-Linux-x86-${pkgver}"

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