blob: 85ddf3c9231d72d747fa01008eaf19a27ab0cd10 (
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
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=vulkan-tools
_pkgname=Vulkan-Tools
pkgver=1.1.130
pkgrel=1
arch="all"
url="https://www.khronos.org/vulkan"
pkgdesc="Vulkan Utilities and Tools"
license="Apache-2.0"
depends="vulkan-loader"
makedepends="cmake python3 libx11-dev wayland-dev vulkan-headers vulkan-loader-dev glslang-dev libxrandr-dev"
source="vulkan-tools-$pkgver.tar.gz::https://github.com/khronosgroup/vulkan-tools/archive/v$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cmake \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_INSTALL_DATADIR=/usr/share \
-DCMAKE_SKIP_RPATH=True \
-DBUILD_CUBE=ON \
-DBUILD_VULKANINFO=ON \
-DGLSLANG_INSTALL_DIR=/usr
make
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="1c21db7d00edfaa55a553c15ee5827c3ed20f00fab9b6d0da6d6838b2e11228749cf18a8eca3d2abab91b349e84beb80d9b606fac6650d76fcbf7f4da76524a8 vulkan-tools-1.1.130.tar.gz"
|