summaryrefslogtreecommitdiff
path: root/pcr/pdfjs
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-06 06:50:42 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-06 06:51:36 -0300
commitffa5de3fa8444cf85b7b0f3c6a20705d7d783e1a (patch)
tree31f48d8b7c25c8dd1d3dc6adb1271142b69d12d5 /pcr/pdfjs
parent9de3b9c45ac06149e94b7a1fb0540b2a22ce08b2 (diff)
downloadabslibre-ffa5de3fa8444cf85b7b0f3c6a20705d7d783e1a.tar.gz
abslibre-ffa5de3fa8444cf85b7b0f3c6a20705d7d783e1a.tar.bz2
abslibre-ffa5de3fa8444cf85b7b0f3c6a20705d7d783e1a.zip
pdfjs: add new package to [pcr] -> https://labs.parabola.nu/issues/966
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: