blob: 121cd63f9fab8fd5725e5ef33adb0210f7f286b8 (
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
29
30
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=spirv-headers
_pkgname=SPIRV-Headers
pkgver=1.4.1
pkgrel=0
pkgdesc="Machine-readable files for the SPIR-V Registry"
options="!check" # No testsuite
url="https://github.com/KhronosGroup/SPIRV-Headers"
arch="noarch"
license="GPL-3.0-or-later"
makedepends="cmake"
source="$pkgname-$pkgver.tar.gz::https://github.com/KhronosGroup/$_pkgname/archive/${pkgver}.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
${CMAKE_CROSSOPTS} .
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="def34baa2a67128126d0918445b757e2b67a5cf012f6ca4f9a671741e4b1bf6939a7ebd114f7741bcd19bd6c22d0c5dc46adc8ac62ec474164278858c2e65dcf spirv-headers-1.4.1.tar.gz"
|