Date: Wednesday, December 27, 2017 @ 05:59:29 Author: lcarlier Revision: 313670
archrelease: copy trunk to extra-any Added: vulkan-docs/repos/extra-any/PKGBUILD (from rev 313669, vulkan-docs/trunk/PKGBUILD) Deleted: vulkan-docs/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 138 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 69 insertions(+), 69 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-12-27 05:59:23 UTC (rev 313669) +++ PKGBUILD 2017-12-27 05:59:29 UTC (rev 313670) @@ -1,69 +0,0 @@ -# $Id$ -# Maintainer: Laurent Carlier <lordhea...@gmail.com> - -pkgbase=vulkan-docs -pkgname=(vulkan-headers vulkan-html-docs) -pkgver=1.0.64 -pkgrel=1 -epoch=1 -_pkgname=Vulkan-Docs -arch=(any) -url="https://www.khronos.org/vulkan/" -license=('custom') -makedepends=(asciidoctor python3 dblatex source-highlight cmake ghostscript git - lyx pango gdk-pixbuf2) # for asciidoctor-mathematical -groups=(vulkan-devel) -source=("https://github.com/KhronosGroup/${_pkgname}/archive/v${pkgver}-core.tar.gz") -sha256sums=('f95279275f69cf71d21c492bfd25b0e1b9ab22d554602a71e845a470275a96a6') - -prepare() { - # for asciidoctor - # it was hard to find versions that builds properly ^^ - local _gemdir="$(ruby -e 'puts Gem.default_dir')" - - gem install -v 0.7.0 ruby-enum - gem install -v 1.6.8 mathematical - gem install -v 0.2.2 asciidoctor-mathematical - gem install -v 1.5.0.alpha.15 asciidoctor-pdf - gem install coderay -} - -build() { - cd "${srcdir}/${_pkgname}-${pkgver}-core/doc/specs/vulkan" - - # asciidoctor / mathematical workaround bug - fail to find liblasem.so - cp ~/.gem/ruby/2.4.0/gems/mathematical-1.6.8/ext/mathematical/lasem/build/liblasem.so ${srcdir} - LD_LIBRARY_PATH=${srcdir}:$LD_LIBRARY_PATH ./makeKHRAndKHX all - - rm -f ${srcdir}/liblasem.so -} - -package_vulkan-headers() { - pkgdesc="Vulkan header files" - cd "${_pkgname}-${pkgver}-core" - - install -dm755 "${pkgdir}/usr/include/vulkan" - install -dm755 "${pkgdir}/usr/share/vulkan" - install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" - - install -m644 src/vulkan/vk_platform.h ${pkgdir}/usr/include/vulkan/ - install -m644 src/vulkan/vulkan.h ${pkgdir}/usr/include/vulkan - install -m644 src/spec/vk.xml ${pkgdir}/usr/share/vulkan - - install -m644 doc/specs/vulkan/copyright-ccby.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-ccby.txt - install -m644 doc/specs/vulkan/copyright-spec.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-spec.txt -} - -package_vulkan-html-docs() { - pkgdesc="Vulkan html documentation" - cd "${_pkgname}-${pkgver}-core" - - install -dm755 "${pkgdir}/usr/share/doc/vulkan" - install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" - - mv -v out/1.0/*.html "${pkgdir}/usr/share/doc/vulkan/" - mv -v out/1.0/html/* "${pkgdir}/usr/share/doc/vulkan/" - - install -m644 doc/specs/vulkan/copyright-ccby.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-ccby.txt - install -m644 doc/specs/vulkan/copyright-spec.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-spec.txt -} Copied: vulkan-docs/repos/extra-any/PKGBUILD (from rev 313669, vulkan-docs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-12-27 05:59:29 UTC (rev 313670) @@ -0,0 +1,69 @@ +# $Id$ +# Maintainer: Laurent Carlier <lordhea...@gmail.com> + +pkgbase=vulkan-docs +pkgname=(vulkan-headers vulkan-html-docs) +pkgver=1.0.66 +pkgrel=1 +epoch=1 +_pkgname=Vulkan-Docs +arch=(any) +url="https://www.khronos.org/vulkan/" +license=('custom') +makedepends=(asciidoctor python3 dblatex source-highlight cmake ghostscript git + lyx pango gdk-pixbuf2) # for asciidoctor-mathematical +groups=(vulkan-devel) +source=("https://github.com/KhronosGroup/${_pkgname}/archive/v${pkgver}-core.tar.gz") +sha256sums=('4a58ca9a8008330d4cae23b01b230f4b4cb493d138c532c6718ee3b51d81e20c') + +prepare() { + # for asciidoctor + # it was hard to find versions that builds properly ^^ + local _gemdir="$(ruby -e 'puts Gem.default_dir')" + + gem install -v 0.7.0 ruby-enum + gem install -v 1.6.8 mathematical + gem install -v 0.2.2 asciidoctor-mathematical + gem install -v 1.5.0.alpha.15 asciidoctor-pdf + gem install coderay +} + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}-core/doc/specs/vulkan" + + # asciidoctor / mathematical workaround bug - fail to find liblasem.so + cp ~/.gem/ruby/2.4.0/gems/mathematical-1.6.8/ext/mathematical/lasem/build/liblasem.so ${srcdir} + LD_LIBRARY_PATH=${srcdir}:$LD_LIBRARY_PATH ./makeKHRAndKHX all + + rm -f ${srcdir}/liblasem.so +} + +package_vulkan-headers() { + pkgdesc="Vulkan header files" + cd "${_pkgname}-${pkgver}-core" + + install -dm755 "${pkgdir}/usr/include/vulkan" + install -dm755 "${pkgdir}/usr/share/vulkan" + install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" + + install -m644 src/vulkan/vk_platform.h ${pkgdir}/usr/include/vulkan/ + install -m644 src/vulkan/vulkan.h ${pkgdir}/usr/include/vulkan + install -m644 src/spec/vk.xml ${pkgdir}/usr/share/vulkan + + install -m644 doc/specs/vulkan/copyright-ccby.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-ccby.txt + install -m644 doc/specs/vulkan/copyright-spec.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-spec.txt +} + +package_vulkan-html-docs() { + pkgdesc="Vulkan html documentation" + cd "${_pkgname}-${pkgver}-core" + + install -dm755 "${pkgdir}/usr/share/doc/vulkan" + install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" + + mv -v out/1.0/*.html "${pkgdir}/usr/share/doc/vulkan/" + mv -v out/1.0/html/* "${pkgdir}/usr/share/doc/vulkan/" + + install -m644 doc/specs/vulkan/copyright-ccby.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-ccby.txt + install -m644 doc/specs/vulkan/copyright-spec.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-spec.txt +}