pdf.js: update to 2.0.943.

This commit is contained in:
Daniel Santana 2018-11-09 19:15:38 -02:00 committed by Helmut Pozimski
parent 3cc9257ce2
commit 3ceff5a29e

View file

@ -1,6 +1,6 @@
# Template file for 'pdf.js'
pkgname=pdf.js
version=1.10.100
version=2.0.943
revision=1
noarch=yes
hostmakedepends="nodejs"
@ -8,12 +8,12 @@ short_desc="Portable Document Format (PDF) viewer built with HTML5"
maintainer="Daniel Santana <daniel@santana.tech>"
license="Apache-2.0"
homepage="https://mozilla.github.io/pdf.js/"
distfiles="https://github.com/mozilla/pdf.js/archive/${version}.tar.gz"
checksum=6f55b1eb85e8912296c6540e8b2e09a96f832caf9a0eba41a7a0acc41ec74cf6
distfiles="https://github.com/mozilla/pdf.js/archive/v${version}.tar.gz"
checksum=4f48077b313f89b88a1f917e6c7ffa465f891667724daeacdca755295581e77d
do_build() {
npm install --no-save gulp-cli
npm install
npm install --no-save gulp-cli
node_modules/.bin/gulp generic
}