aboutsummaryrefslogtreecommitdiffstats
path: root/community/vulkan-headers/APKBUILD
blob: 1e9cbded7e441646eb90b610088b772d3932bf20 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=vulkan-headers
_pkgname=Vulkan-Headers
pkgver=1.1.128
pkgrel=0
arch="noarch"
url="https://www.khronos.org/vulkan"
pkgdesc="Vulkan header files"
license="Apache-2.0"
makedepends="cmake"
source="$pkgname-$pkgver.tar.gz::https://github.com/khronosgroup/vulkan-headers/archive/v$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="4f062f2f612988e9586b64701f6917ef5caadf0fb915c5cbe78a01af051a044833002a37f7a68bfb1f04480feacf7b6af318980f9508585ead234d3712b2aec8  vulkan-headers-1.1.128.tar.gz"