aboutsummaryrefslogtreecommitdiffstats
path: root/community/vulkan-headers/APKBUILD
blob: 3202f6abcc51cd76a2cb94820c39fbb2976d2085 (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
31
32
# 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.184
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="
95ee241ca82ba4373dc53aefec36839b6a08478434742bd8de6750d875a7a5fcb2225afae5f6f400a7b302af87da7e226b725be5435236694e816e141a3b24ef  vulkan-headers-v1.2.184.tar.gz
"