# Maintainer:

pkgname=anari-sdk
pkgver=0.15.0
pkgrel=1
pkgdesc='ANARI Software Development Kit (SDK)'
arch=(x86_64 aarch64)
url='https://github.com/KhronosGroup/ANARI-SDK'
license=(Apache-2.0)
depends=(glibc
         libgcc
         libstdc++
         python)
makedepends=(cmake
             git)
source=(git+https://github.com/KhronosGroup/ANARI-SDK#tag=v$pkgver)
sha256sums=('c565c005b39bf1d78f2666ac5912ba14c2475d71f71ea8c2fff46b96a588050e')

build() {
  cmake -B build -S ANARI-SDK \
    -DCMAKE_INSTALL_PREFIX=/usr
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
