blob: ba651d89283410b70deeaeb4856482838d3f8451 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#!/bin/mkpkg
# description: SPIR-V header files
# url: https://www.khronos.org/registry/spir-v/
name=spirv-headers
_name=SPIRV-Headers
version=2026.08.0
release=1
makedeps=(cmake ninja)
source=(https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/v${version}.tar.gz)
renames=(${name}-${version}.tar.gz)
sha256sums=(
"095b6157d48ebfa0afcc5ab60cc33c87e16f870a01feacee2ac78427976382a4"
)
build() {
cd ${_name}-${version}
cmake -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D SPIRV_HEADERS_ENABLE_TESTS=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|