mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
30 lines
934 B
Text
30 lines
934 B
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Simon Zeni <simon@bl4ckb0ne.ca>
|
|
pkgname=spirv-headers
|
|
_pkgname=SPIRV-Headers
|
|
pkgver=1.4.309.0
|
|
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 samurai"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-vulkan-sdk-$pkgver"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
545526940e5b42a53143732d6d00b61ee544f8137507f86b32230fb5110cf2cc8f3fc71d0b167e614ab2dd5faa1c4915965627146d519832d73f23ee6a2aa4bb spirv-headers-1.4.309.0.tar.gz
|
|
"
|