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