void-packages/srcpkgs/pdf.js/template

18 lines
561 B
Bash

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