void-packages/srcpkgs/pdf.js/template
Đoàn Trần Công Danh 015faa8d94 pdf.js: remove noarch
2020-11-29 08:30:22 +07:00

17 lines
563 B
Bash

# Template file for 'pdf.js'
pkgname=pdf.js
version=2.5.207
revision=2
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/
}