# Maintainer:

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

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

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