void-packages/srcpkgs/pdf.js/template

18 lines
563 B
Bash

# Template file for 'pdf.js'
pkgname=pdf.js
version=2.7.570
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}-es5-dist.zip"
checksum=d2a2e4e09fabb8cf5c6644ae21aa528370c2c77633941181fd58b8059af04eff
do_install() {
vmkdir usr/share/$pkgname/
vcopy web usr/share/$pkgname/
vcopy build usr/share/$pkgname/
}