void-packages/srcpkgs/SPIRV-Headers/template

26 lines
878 B
Bash

# Template file for 'SPIRV-Headers'
pkgname=SPIRV-Headers
version=1.3.51
revision=1
_githash=17da9f8231f78cf519b4958c2229463a63ead9e2
noarch=yes
wrksrc="${pkgname}-${_githash}"
build_style=cmake
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=c1c5f29e31fa7f68a06d0a5cc7ee3303c850918504f7de22cf49783588686a8b
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