summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 4 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 012ecf932ef1..547c17cf7575 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,6 +6,8 @@ pkgbase = optix70
arch = x86_64
license = custom:NVIDIA
depends = cuda
+ provides = optix=7.0
+ conflicts = optix
options = !strip
source = file://NVIDIA-OptiX-SDK-7.0.0-linux64.sh
source = file://cmake.patch
diff --git a/PKGBUILD b/PKGBUILD
index 0a00cf337b9e..3c7be73f6661 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,6 +8,8 @@ arch=('x86_64')
url="https://developer.nvidia.com/optix"
license=('custom:NVIDIA')
depends=('cuda')
+provides=("optix=${pkgver%.*}")
+conflicts=('optix')
options=(!strip)
_script="NVIDIA-OptiX-SDK-$pkgver-linux64.sh"
source=("file://$_script"