[arch-commits] Commit in vulkan-docs/trunk (PKGBUILD)

Laurent Carlier lcarlier at gemini.archlinux.org
Fri Jan 21 16:20:08 UTC 2022


    Date: Friday, January 21, 2022 @ 16:20:08
  Author: lcarlier
Revision: 434859

upgpkg: vulkan-docs 1:1.2.203-1: upstream update 1.2.203

Modified:
  vulkan-docs/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-21 15:41:50 UTC (rev 434858)
+++ PKGBUILD	2022-01-21 16:20:08 UTC (rev 434859)
@@ -2,7 +2,7 @@
 
 pkgbase=vulkan-docs
 pkgname=(vulkan-html-docs)
-pkgver=1.2.175
+pkgver=1.2.203
 pkgrel=1
 epoch=1
 _pkgname=Vulkan-Docs
@@ -9,17 +9,26 @@
 arch=(any)
 url="https://www.khronos.org/vulkan/"
 license=('custom')
-makedepends=(asciidoctor python3 dblatex source-highlight cmake ghostscript nodejs npm git)
+makedepends=(python3 dblatex source-highlight cmake ghostscript nodejs npm git)
+makedepends+=(rubygems graphicsmagick pango gdk-pixbuf2 jbigkit)
 groups=(vulkan-devel)
 source=("https://github.com/KhronosGroup/${_pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('c7fd5d0ff12eb795c2dde959dbfc0b12394341aedc45f28d457196eda22bdc4b')
+sha256sums=('629e991e12379fdaae0e78389727595f7703d9815a1ee5911b9bf06f8ddc4313')
 
 prepare() {
-  npm install escape-string-regexp
-  npm install he
+  export PATH="${PATH}:/build/.local/share/gem/ruby/3.0.0/bin"
+
+  gem install -N asciidoctor:1.5.8 asciidoctor-diagram asciidoctor-mathematical \
+     asciidoctor-pdf coderay json-schema i18n prawn-gmagick \
+     pygments.rb rouge text-hyphen
+
+  npm install escape-string-regexp at 2.0.0 he lunr at 2.3.6
 }
 
 build() {
+  export PATH="${PATH}:/build/.local/share/gem/ruby/3.0.0/bin"
+  export NODE_PATH="${srcdir}/node_modules"
+
   cd "${srcdir}/${_pkgname}-${pkgver}"
 
   ./makeAllExts html manhtmlpages styleguide registry



More information about the arch-commits mailing list