summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e1ae62d11ac..55f8081eb16 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mermaid-cli
pkgdesc = Generation of diagram and flowchart from text in a similar manner as markdown (CLI)
- pkgver = 9.1.4
+ pkgver = 9.1.6
pkgrel = 1
url = https://github.com/mermaid-js/mermaid-cli
arch = any
@@ -9,8 +9,8 @@ pkgbase = mermaid-cli
makedepends = chromium
depends = nodejs
depends = chromium
- noextract = mermaid-cli-9.1.4.tgz
- source = http://registry.npmjs.org/@mermaid-js/mermaid-cli/-/mermaid-cli-9.1.4.tgz
- sha256sums = ba75d953a25986ba20c17d60ca70adefea8c3fec6f4c4eabdb8ce52dd04857ed
+ noextract = mermaid-cli-9.1.6.tgz
+ source = http://registry.npmjs.org/@mermaid-js/mermaid-cli/-/mermaid-cli-9.1.6.tgz
+ sha256sums = fd1cbd649dbe70f4eb48a6508df953987238090a7c87ba8309c01ca90f8e554d
pkgname = mermaid-cli
diff --git a/PKGBUILD b/PKGBUILD
index 9e23a0f4b49..52bae37cc10 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: xuhcc <xuhcc at cryptolab dot net>
pkgname=mermaid-cli
-pkgver=9.1.4
+pkgver=9.1.6
pkgrel=1
pkgdesc='Generation of diagram and flowchart from text in a similar manner as markdown (CLI)'
arch=('any')
@@ -13,12 +13,12 @@ _npmscope=@mermaid-js
_npmname=mermaid-cli
_npmver=$pkgver
source=("http://registry.npmjs.org/${_npmscope}/${_npmname}/-/${_npmname}-${_npmver}.tgz")
-sha256sums=('ba75d953a25986ba20c17d60ca70adefea8c3fec6f4c4eabdb8ce52dd04857ed')
+sha256sums=('fd1cbd649dbe70f4eb48a6508df953987238090a7c87ba8309c01ca90f8e554d')
noextract=("${_npmname}-${_npmver}.tgz")
package() {
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true npm install --global --production --prefix "${pkgdir}/usr" "${_npmname}-${_npmver}.tgz"
- sed -i "s#let puppeteerConfig = {}#let puppeteerConfig = { executablePath: '$(which chromium)' }#g" "${pkgdir}/usr/lib/node_modules/@mermaid-js/mermaid-cli/index.bundle.js"
+ sed -i "s#let puppeteerConfig = {}#let puppeteerConfig = { executablePath: '$(which chromium)' }#g" "${pkgdir}/usr/lib/node_modules/@mermaid-js/mermaid-cli/src/index.js"
# -> https://wiki.archlinux.org/index.php/Node.js_package_guidelines
# Non-deterministic race in npm gives 777 permissions to random directories.