void-packages/srcpkgs/glslang/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

27 lines
790 B
Bash

# Template file for 'glslang'
pkgname=glslang
version=7.11.3214
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
hostmakedepends="python bison"
short_desc="Khronos reference front-end for GLSL, ESSL, and sample SPIR-V generator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/KhronosGroup/glslang"
distfiles="https://github.com/KhronosGroup/glslang/archive/${version}.tar.gz"
checksum=b30b4668734328d256e30c94037e60d3775b1055743c04d8fd709f2960f302a9
post_install() {
sed -n '2,32p' < glslang/GenericCodeGen/CodeGen.cpp > LICENSE
vlicense LICENSE
}
glslang-devel_package() {
depends="glslang-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}