# Template file for 'pdf.js'
pkgname=pdf.js
version=2.12.313
revision=1
create_wrksrc=yes
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/releases/download/v${version}/pdfjs-${version}-dist.zip"
checksum=f9be28b8c0bcda9d344e17f2922d02d7137488cdfce37e7639ccc582305b4822

do_install() {
	vmkdir usr/share/$pkgname/
	vcopy web usr/share/$pkgname/
	vcopy build usr/share/$pkgname/
}
