pkgname=vulkan-loader pkgver=1.4.304 pkgrel=1 pkgdesc="Vulkan Installable Client Driver (ICD) Loader" arch=('x86_64') url="https://www.khronos.org/vulkan" license=('Apache-2.0') depends=('glibc' 'libx11' 'vulkan-headers' 'wayland') makedepends=('cmake' 'python-lxml' 'libxrandr' ) source=(https://github.com/KhronosGroup/Vulkan-Loader/archive/v${pkgver}/Vulkan-Loader-${pkgver}.tar.gz) sha256sums=(368d8281604a3f4dee038bfcc55c44e305031ec67f6e3fdd50cdeb83586c99f9) build() { cd Vulkan-Loader-${pkgver} local cmake_args=( -B flarebird-build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_INSTALL_RPATH=ON -DBUILD_WSI_XCB_SUPPORT=On -DBUILD_WSI_XLIB_SUPPORT=On -DBUILD_WSI_WAYLAND_SUPPORT=On ) cmake ${cmake_args[@]} cmake --buildflarebird-build } package() { cd Vulkan-Loader-${pkgver} DESTDIR=${pkgdir} cmake --installflarebird-build }