1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
7 url="https://www.khronos.org/vulkan/"
8 pkgdesc="Vulkan Utilities and Tools"
10 depends=('libx11' 'wayland' 'libvulkan.so')
11 makedepends=('cmake' 'python' 'vulkan-headers' 'vulkan-icd-loader' 'glslang' 'spirv-tools')
12 groups=('vulkan-devel')
13 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/Vulkan-Tools/archive/v${pkgver}.tar.gz")
14 sha256sums=('cda034e5990aa92848bfd98045ae77000a789e37b2080a97d4cd7fbb3a089580')
17 cd "${srcdir}"/Vulkan-Tools*
19 rm -rf build && mkdir build
23 cd "${srcdir}"/Vulkan-Tools*/build
26 -DCMAKE_INSTALL_PREFIX=/usr \
27 -DCMAKE_INSTALL_SYSCONFDIR=/etc \
28 -DCMAKE_INSTALL_DATADIR=/usr/share \
29 -DCMAKE_SKIP_RPATH=True \
30 -DBUILD_WSI_XCB_SUPPORT=On \
31 -DBUILD_WSI_XLIB_SUPPORT=On \
32 -DBUILD_WSI_WAYLAND_SUPPORT=On \
34 -DBUILD_VULKANINFO=ON \
36 -DGLSLANG_INSTALL_DIR=/usr \
37 -DCMAKE_BUILD_TYPE=Release \
43 cd "${srcdir}"/Vulkan-Tools*/build
45 make DESTDIR="${pkgdir}" install
47 install -dm755 "${pkgdir}"/usr/share/licenses/${pkgname}
48 install -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/