summaryrefslogtreecommitdiff
path: root/pcr/pdfjs
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/pdfjs')
-rw-r--r--pcr/pdfjs/PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/pcr/pdfjs/PKGBUILD b/pcr/pdfjs/PKGBUILD
new file mode 100644
index 000000000..1e2d07078
--- /dev/null
+++ b/pcr/pdfjs/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer (Arch): Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
+
+pkgname=pdfjs
+pkgver=1.2.109
+pkgrel=2
+pkgdesc="PDF reader in javascript"
+arch=('any')
+url="https://mozilla.github.io/pdf.js/"
+license=('Apache')
+source=("https://github.com/mozilla/pdf.js/releases/download/v${pkgver}/pdfjs-${pkgver}-dist.zip")
+sha1sums=('d100bc48123154ad97530728ebfef312b5883f94')
+
+package() {
+ mkdir -p "$pkgdir/usr/share/pdf.js"
+ cp -R "$srcdir"/{LICENSE,build,web} "$pkgdir/usr/share/pdf.js"
+}
+
+# vim:set ts=2 sw=2 ft=sh et: