summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-plugins/pdfjs')
-rw-r--r--www-plugins/pdfjs/Manifest1
-rw-r--r--www-plugins/pdfjs/pdfjs-1.9.426.ebuild23
2 files changed, 24 insertions, 0 deletions
diff --git a/www-plugins/pdfjs/Manifest b/www-plugins/pdfjs/Manifest
index 971a84547080..3e4f1d9bfc28 100644
--- a/www-plugins/pdfjs/Manifest
+++ b/www-plugins/pdfjs/Manifest
@@ -1 +1,2 @@
DIST pdfjs-1.7.225.zip 2590573 SHA256 c7781f6c90cd6806631cbf84a8b37d94d0831420e6d2b8055f18646076a51ed9 SHA512 b2464eb7197ee1e670c5814e19fa11eb41a2e54ba69883853418661dc667e3991ea2c677adaf5d192317e1f278656c4442caded8363aff09a4e9cebf170f59e6 WHIRLPOOL 5ad4e5cb96bb101ec8f56046b386213a7dc953d07ba1a53f06146499d63449a04ad07cca172fcf3079c829d9312a8b3f83fd5ee7d813d559ea2014514ef6dbb1
+DIST pdfjs-1.9.426.zip 3510568 SHA256 00998c3b731382106e1f3a48ab15dce6714015573f76027c6b178fccf99f286c SHA512 4c6a7ac613755a73d694a80ccea0d0d3d100fb0c7039ae5d866059d39e58b650092a733c7bea6d302cfa196f439d28f59055443ab96443161d1770462d8976ef WHIRLPOOL 6b0b769e8cfff9c82a37e03ff06d5f9d6b5601c8ce25a5db2e10c7a34fc9fe23710d15b209346aea33221248eaa42bd6e554e8f290b0cc0b8157230800264ae2
diff --git a/www-plugins/pdfjs/pdfjs-1.9.426.ebuild b/www-plugins/pdfjs/pdfjs-1.9.426.ebuild
new file mode 100644
index 000000000000..4c12535dad2d
--- /dev/null
+++ b/www-plugins/pdfjs/pdfjs-1.9.426.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A PDF reader in JavaScript"
+HOMEPAGE="http://mozilla.github.io/pdf.js/"
+SRC_URI="https://github.com/mozilla/pdf.js/releases/download/v${PV}/${P}-dist.zip -> ${P}.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_install() {
+ insinto /usr/share/pdf.js/
+
+ doins -r build
+ doins -r web
+}