# Contributor: Leo # Maintainer: Simon Zeni pkgname=spirv-headers _pkgname=SPIRV-Headers pkgver=1.3.250.1 pkgrel=0 pkgdesc="Machine-readable files for the SPIR-V Registry" options="!check" # No testsuite url="https://github.com/KhronosGroup/SPIRV-Headers" arch="noarch" license="GPL-3.0-or-later" makedepends="cmake samurai" source="$pkgname-$pkgver.tar.gz::https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/sdk-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-sdk-$pkgver" build() { cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_SHARED_LIBS=True \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" ce48d6655a15bdc969cf31376d93ddf3225ae5d2a55d47bdae2219a79c6e1f6f90b4eae1ab8df7309287e3dab32567559efd7bb779bb9d59651be9f5ccfd816e spirv-headers-1.3.250.1.tar.gz "