summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2016-12-16 02:27:04 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-01-15 18:21:15 +0100
commitdb509b9eaf05b9871230afa9e1f5be61b60fb9e3 (patch)
tree28a19d2a5dd9b7cae3ba5ca1b1f14984b256498d /www-plugins/pdfjs/pdfjs-1.6.210.ebuild
parentgames-board/gnuchess: Remove vulnerable (bug #599730) (diff)
downloadgentoo-db509b9eaf05b9871230afa9e1f5be61b60fb9e3.tar.gz
gentoo-db509b9eaf05b9871230afa9e1f5be61b60fb9e3.tar.bz2
gentoo-db509b9eaf05b9871230afa9e1f5be61b60fb9e3.zip
www-plugins/pdfjs: new ebuild.
A free browser plugin by Mozilla for PDF preview. Intended for use with qutebrowser. Closes: https://github.com/gentoo/gentoo/pull/3127
Diffstat (limited to 'www-plugins/pdfjs/pdfjs-1.6.210.ebuild')
-rw-r--r--www-plugins/pdfjs/pdfjs-1.6.210.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/www-plugins/pdfjs/pdfjs-1.6.210.ebuild b/www-plugins/pdfjs/pdfjs-1.6.210.ebuild
new file mode 100644
index 00000000000..c48277e4efd
--- /dev/null
+++ b/www-plugins/pdfjs/pdfjs-1.6.210.ebuild
@@ -0,0 +1,22 @@
+# 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
+}