void-packages/srcpkgs/pdf.js/template
2020-06-08 21:26:09 +02:00

18 lines
576 B
Bash

# Template file for 'pdf.js'
pkgname=pdf.js
version=2.4.456
revision=1
archs=noarch
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=f40f7bc4d96cc430c858ef26da2708b5a4669b6316278b67251a95f9a8fdff5d
do_install() {
vmkdir usr/share/$pkgname/
vcopy web usr/share/$pkgname/
vcopy build usr/share/$pkgname/
}