A free browser plugin by Mozilla for PDF preview.
Intended for use with qutebrowser.
Closes: https://github.com/gentoo/gentoo/pull/3127
--- /dev/null
+DIST pdfjs-1.6.210.zip 2682332 SHA256 53997edad2635983406a33d99c04db14b139aabbeddc63bc3b6cb60d830a4a90 SHA512 8b19aa6437448de93bb96408abe0db9168aec4452c61ff40329a4c796f0403153fa2e4845e526df3969eca49faebd6095280db03832f5e764077a15af605c35e WHIRLPOOL 5805690672fa5636c9f8a20ac93bb83ae096e22dccd9064ab177dde5df85d66adf775dfd61c562d95349983f7ef39099fb14fcb3aef14a909185baa98fef6510
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hilobakho@gmail.com</email>
+ <name>Mykyta Holubakha</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Gentoo Proxy Maintainers Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mozilla/pdf.js</remote-id>
+ </upstream>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+
+S="${WORKDIR}"
+
+src_install() {
+ insinto /usr/share/pdf.js/
+
+ doins -r build
+ doins -r web
+}