name=cuda
version=13.2
release=1
desc="NVIDIA CUDA toolkit"
url="https://developer.nvidia.com/cuda-toolkit"
license="NVIDIA-proprietary"
depend="nvidia-utils gcc-libs"
makedepend=""
source="https://developer.download.nvidia.com/compute/cuda/13.2/local_installers/cuda_13.2_linux.run"
sha256="SKIP"

options="!strip"

package() {
	cd "cuda_13.2_linux.run"
	install -d "$pkgdir/opt/cuda"
	cp -a . "$pkgdir/opt/cuda/"
	install -d "$pkgdir/usr/bin"
	ln -sf "/opt/cuda/cuda" "$pkgdir/usr/bin/cuda"
}
