1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
6 pkgdesc="API and commands for processing SPIR-V modules"
8 url="https://www.khronos.org/vulkan/"
11 depends=('gcc-libs' 'sh')
12 makedepends=('cmake' 'python' 'git' 'ninja' 'spirv-headers')
13 source=("git+https://github.com/KhronosGroup/SPIRV-Tools.git#tag=v${pkgver}")
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_INSTALL_LIBDIR=lib \
24 -DCMAKE_BUILD_TYPE=None \
26 -DBUILD_SHARED_LIBS=ON \
27 -DSPIRV_TOOLS_BUILD_STATIC=OFF \
28 -DSPIRV-Headers_SOURCE_DIR=/usr
40 DESTDIR="${pkgdir}" ninja -C build install
42 install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE