aboutsummaryrefslogtreecommitdiffstats
path: root/community/vulkan-headers/APKBUILD
blob: e9d281b3c4fc0c64341bf41e68a145758e5da872 (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.2.132
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="29d8e03e29495ca75e50ae71e85d6ad4e0cb6d56a835d8591961fd287b0ec1e3781b42194d295a3c50e5835bdd7ce1d0149a0f3f4b3ff11af9615928f904b497  vulkan-headers-1.2.132.tar.gz"