# Template file for 'SPIRV-Headers'
pkgname=SPIRV-Headers
version=1.3.37
revision=1
_githash="d5b2e1255f706ce1f88812217e9a554f299848af"
noarch=yes
build_style=cmake
wrksrc="${pkgname}-${_githash}"
short_desc="Machine-readable files for the SPIR-V Registry"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/KhronosGroup/SPIRV-Headers"
distfiles="https://github.com/KhronosGroup/SPIRV-Headers/archive/${_githash}.tar.gz"
checksum=ac0dba40509922b3284b90fc896eb1a480d32a503635ea702b003bdff89729e1

post_install() {
	vlicense LICENSE
}

# This package has no stable releases from upstream so we use the version
# of the standard followed by the number of commits taken from their GitHub
# since the standard was introduced
#
# for the current version 1.3 use:
# git rev-list --count 02ffc719aa9f9c1dce5ce05743fb1afe6cbf17ea..HEAD
