aboutsummaryrefslogtreecommitdiffstats
path: root/community/vulkan-headers/APKBUILD
blob: 18e08723c3a859886008d9abd6be8eb4ec06c6a8 (plain) (blame)
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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=vulkan-headers
# Please be VERY careful upgrading this - vulkan-headers breaks API even
# on point releases. So please make sure everything using this still builds
# after upgrades
pkgver=1.2.170
pkgrel=0
arch="noarch"
url="https://www.khronos.org/vulkan"
pkgdesc="Vulkan header files"
license="Apache-2.0"
makedepends="cmake"
source="https://github.com/khronosgroup/vulkan-headers/archive/v$pkgver/vulkan-headers-v$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/Vulkan-Headers-$pkgver"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="458e69f34776eb032ef9024744b34083c2a5e3dd074d511a3076d6be61a03dbe1383e6588979e700099a13a6411a72eaba97df9f0968b0b98e85049bc62a1c73  vulkan-headers-v1.2.170.tar.gz"