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