summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2021-01-21 20:30:19 +0100
committerbartus2021-01-21 20:30:36 +0100
commit114de374b643cd76c50826ee11a908796f7d0d23 (patch)
tree2dc0213ac7ffa6638dfbf095a97c61076a71f94c
parent936c79fd2cbcd06ef49a3408242e8dc2a6381c9b (diff)
downloadaur-114de374b643cd76c50826ee11a908796f7d0d23.tar.gz
Add provides/conflicts
-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"