# Contributor: Bart Ribbers # Contributor: Simon Zeni # Maintainer: Bart Ribbers pkgname=vulkan-headers _pkgname=Vulkan-Headers # Please be VERY careful upgrading this - vulkan-headers breaks API even # on point releases. So please make sure everything using this still builds # after upgrades pkgver=1.3.250.1 pkgrel=0 arch="noarch" url="https://www.vulkan.org/" pkgdesc="Vulkan header files" license="Apache-2.0" makedepends="cmake samurai" source="https://github.com/khronosgroup/vulkan-headers/archive/refs/tags/sdk-$pkgver/vulkan-headers-v$pkgver.tar.gz" builddir="$srcdir/$_pkgname-sdk-$pkgver" options="!check" # No tests build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" c7032a5689ed3c066a83cad5b9f260a264d1a3e22667c910306d85f4ddb055227e8638e29df46295c51ba26071897c70522aa9a8f2b9b7fe8f819c821bd47ff5 vulkan-headers-v1.3.250.1.tar.gz "