# Contributor: Leo # Maintainer: Leo pkgname=spirv-headers _pkgname=SPIRV-Headers pkgver=1.4.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" source="$pkgname-$pkgver.tar.gz::https://github.com/KhronosGroup/$_pkgname/archive/${pkgver}.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_SHARED_LIBS=True \ -DCMAKE_BUILD_TYPE=Release \ ${CMAKE_CROSSOPTS} . make } package() { make DESTDIR="$pkgdir" install } sha512sums="def34baa2a67128126d0918445b757e2b67a5cf012f6ca4f9a671741e4b1bf6939a7ebd114f7741bcd19bd6c22d0c5dc46adc8ac62ec474164278858c2e65dcf spirv-headers-1.4.1.tar.gz"