# Template file for 'pdf.js'
pkgname=pdf.js
version=5.4.530
revision=1
create_wrksrc=yes
short_desc="Portable Document Format (PDF) viewer built with HTML5"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://mozilla.github.io/pdf.js/"
distfiles="https://github.com/mozilla/pdf.js/releases/download/v${version}/pdfjs-${version}-legacy-dist.zip"
checksum=9562adcdfb39b6c9362fe1b99ac0208960b93fc44b9f06cf6a94ba348291be3a

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