1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
3 pkgname=opengl-man-pages
5 _commit=8acb9c72a30d36a6f7e89b9b2de0635c50773cdb
7 pkgdesc="OpenGL Man Pages - OpenGL 4.x"
9 url="https://github.com/KhronosGroup/OpenGL-Refpages"
11 makedepends=('docbook5-xml' 'docbook-xsl' 'libxslt' 'docbook-mathml' 'w3c-mathml2' 'python' 'git')
12 source=(${pkgname}::git+https://github.com/KhronosGroup/OpenGL-Refpages#commit=$_commit
15 'a7b2f6669d7ead91dcaf5a03620cdf9d37c54d83fd1899b4ef84683c7e6d4024')
18 for manpages in gl4; do
19 cd "${srcdir}/${pkgname}/${manpages}"
21 xsltproc --xinclude --noout --nonet /usr/share/xml/docbook/xsl-stylesheets-*/manpages/docbook.xsl ${file}
27 install -d "${pkgdir}/usr/share/man/man3"
28 for manpages in gl4; do
29 cd "${srcdir}/${pkgname}/${manpages}"
30 install -m644 *.3G "${pkgdir}/usr/share/man/man3/"
33 install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"