# no CUDA
makedepends=(
  ${makedepends[@]/cuda/}
)
pkgdesc+=", without CUDA support"

eval "$(
  declare -f build | \
    sed '
      s/cmake /cmake -DNO_CUDA=ON /
    '
)"

eval "$(
  declare -f prepare | \
    sed '
      /cuda.*patch/d
    '
)"