summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 40fcf1d5fc7fea92bebd475a346deb161856548f (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: sparzz
pkgname=vulkan-tools-git
pkgver=1.2.140_final_2
pkgrel=1
epoch=
pkgdesc="vulkan tools build directly from KhronosGroup github. This build provide the most recent vulkan-tools package"
arch=(x86_64)
url="https://github.com/KhronosGroup/Vulkan-Tools.git"
license=('Apache')
groups=()
depends=()
makedepends=("cmake"
            "git")
checkdepends=()
optdepends=()
provides=(vulkan-tools-git)
conflicts=(vulkan-tools)
replaces=(vulkan-tools)
backup=()
options=()
install=
changelog=
source=("Vulkan-Tools::git+https://github.com/KhronosGroup/Vulkan-Tools.git")
noextract=()
md5sums=("SKIP")
validpgpkeys=()






package() {
	cmake setup Vulkan-Tools \
	-DVULKAN_VALIDATIONLAYERS_INSTALL_DIR=/usr/local/lib \
	-DVULKAN_VALIDATIONLAYERS_INSTALL_DIR=/usr/local/share/vulkan/explicit_layer.d \
	-DSPIRV_HEADERS_INSTALL_DIR=/usr/local/lib/cmake/SPIRV-Headers \
	-DSPIRV_HEADERS_INSTALL_DIR=/usr/local/include/spirv \
	-DVulkanRegistry_DIR=/usr/local/share/vulkan/registry \
	-DVULKAN_LOADER_INSTALL_DIR=/usr/local/lib \
	-DVULKAN_HEADERS_INSTALL_DIR=/usr/local/include/vulkan \
	-DVULKAN_HEADERS_INSTALL_DIR=/usr/local/share/vulkan/registry \
	-DGLSLANG_INSTALL_DIR=/usr/local/bin \
	cmake configure Vulkan-Tools
	make DESTDIR="$pkgdir" install
}