void-packages/srcpkgs/pdf.js/template
UsernameRandomlyGenerated 7bf9eee3a4 pdf.js: update to 2.7.570.
2021-05-21 23:39:17 -03:00

17 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/
}