19 lines
576 B
Bash
19 lines
576 B
Bash
# Template file for 'pdf.js'
|
|
pkgname=pdf.js
|
|
version=2.5.207
|
|
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=6ff4f6ecf2672250787cb0be1b11b062b60a0139dfead09d111d652c1b22c736
|
|
|
|
do_install() {
|
|
vmkdir usr/share/$pkgname/
|
|
vcopy web usr/share/$pkgname/
|
|
vcopy build usr/share/$pkgname/
|
|
}
|