blob: 3782e5d12c4d6ec89e73699a561a1d55260f2e9e (
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.120
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/$pkgname/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="13179ef51aab7b1a75bb442c8b33d1a3d7656dc0719187bc739bd63ec0112fc82f9710e897b8d6fdcdb33729d90ce25af427a95e02ce580677d2ed0376fe64ec vulkan-headers-1.1.120.tar.gz"
|