void-packages/srcpkgs/SPIRV-Headers/template

26 lines
878 B
Bash
Raw Normal View History

2018-08-04 20:12:54 +02:00
# Template file for 'SPIRV-Headers'
pkgname=SPIRV-Headers
2018-10-31 19:38:20 +01:00
version=1.3.44
2018-08-04 20:12:54 +02:00
revision=1
2018-10-31 19:38:20 +01:00
_githash=a2c529b5dda18838ab4b52f816acfebd774eaab3
2018-08-04 20:12:54 +02:00
noarch=yes
2018-09-27 21:18:31 +02:00
wrksrc="${pkgname}-${_githash}"
2018-10-31 19:38:20 +01:00
build_style=cmake
2018-08-04 20:12:54 +02:00
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"
2018-09-27 21:18:31 +02:00
distfiles="https://github.com/KhronosGroup/SPIRV-Headers/archive/${_githash}.tar.gz"
2018-10-31 19:38:20 +01:00
checksum=ff732d21622bb7b2180c794949a5ad2cda71850e2f46cce70b02556d7c789342
2018-08-04 20:12:54 +02:00
post_install() {
vlicense LICENSE
}
2018-09-27 21:18:31 +02:00
# 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