opt/vulkan-headers/Pkgfile

21 lines
548 B
Plaintext

# Description: Vulkan Header files and API registry
# URL: https://www.khronos.org/vulkan/
# Maintainer: Danny Rawlins, crux at romster dot me
name=vulkan-headers
_name=Vulkan-Headers-sdk
version=1.3.250.0
_version=sdk-$version
release=1
source=(https://github.com/KhronosGroup/Vulkan-Headers/archive/$_version/$_name-$version.tar.gz)
build() {
cmake -S $_name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release
cmake --build build
DESTDIR=$PKG cmake --install build
}