[arch-commits] Commit in vulkan-docs/repos/extra-any (PKGBUILD PKGBUILD)

Laurent Carlier lcarlier at archlinux.org
Wed Apr 29 09:24:30 UTC 2020


    Date: Wednesday, April 29, 2020 @ 09:24:29
  Author: lcarlier
Revision: 381829

archrelease: copy trunk to extra-any

Added:
  vulkan-docs/repos/extra-any/PKGBUILD
    (from rev 381828, vulkan-docs/trunk/PKGBUILD)
Deleted:
  vulkan-docs/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 42 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-29 09:24:23 UTC (rev 381828)
+++ PKGBUILD	2020-04-29 09:24:29 UTC (rev 381829)
@@ -1,37 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgbase=vulkan-docs
-pkgname=(vulkan-html-docs)
-pkgver=1.2.135
-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)
-groups=(vulkan-devel)
-source=("https://github.com/KhronosGroup/${_pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('b07acfdd90d3a18a74e19b4ebc64b20607e4d096614c0b4aa600dd46ccfc9abe')
-
-build() {
-  cd "${srcdir}/${_pkgname}-${pkgver}"
-
-  ./makeAllExts html manhtmlpages styleguide registry
-}
-
-package_vulkan-html-docs() {
-  pkgdesc="Vulkan html documentation"
-  cd "${_pkgname}-${pkgver}"
-
-  install -dm755 "${pkgdir}/usr/share/doc/vulkan"
-  install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  mv -v out/man "${pkgdir}/usr/share/doc/vulkan/"
-  mv -v out/html/* "${pkgdir}/usr/share/doc/vulkan/"
-  mv -v out/registry.html "${pkgdir}/usr/share/doc/vulkan/"
-  mv -v out/styleguide.html "${pkgdir}/usr/share/doc/vulkan/"
-
-  install -m644 copyright-ccby.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-ccby.txt
-  install -m644 copyright-spec.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-spec.txt
-}

Copied: vulkan-docs/repos/extra-any/PKGBUILD (from rev 381828, vulkan-docs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-29 09:24:29 UTC (rev 381829)
@@ -0,0 +1,42 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgbase=vulkan-docs
+pkgname=(vulkan-html-docs)
+pkgver=1.2.139
+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 nodejs npm git)
+groups=(vulkan-devel)
+source=("https://github.com/KhronosGroup/${_pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('c3662184b038dff23c039957b4ae6174c8bf4e228cb48b8c50fef60c80c33082')
+
+prepare() {
+  npm install escape-string-regexp
+  npm install he
+}
+
+build() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+
+  ./makeAllExts html manhtmlpages styleguide registry
+}
+
+package_vulkan-html-docs() {
+  pkgdesc="Vulkan html documentation"
+  cd "${_pkgname}-${pkgver}"
+
+  install -dm755 "${pkgdir}/usr/share/doc/vulkan"
+  install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  mv -v out/man "${pkgdir}/usr/share/doc/vulkan/"
+  mv -v out/html/* "${pkgdir}/usr/share/doc/vulkan/"
+  mv -v out/registry.html "${pkgdir}/usr/share/doc/vulkan/"
+  mv -v out/styleguide.html "${pkgdir}/usr/share/doc/vulkan/"
+
+  install -m644 copyright-ccby.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-ccby.txt
+  install -m644 copyright-spec.txt ${pkgdir}/usr/share/licenses/${pkgname}/copyright-spec.txt
+}



More information about the arch-commits mailing list