summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2017-09-14 16:21:29 +0200
committerMartin Väth <martin@mvath.de>2017-09-14 16:23:17 +0200
commit7f94b974a9dd624c869c02d413e65cb3e5d7b29c (patch)
treec4c8f4286f9a08600008ecb62019087db11e91b0 /www-plugins/google-translation
parentwww-plugins/translate-to-me: New package (diff)
downloadmv-7f94b974a9dd624c869c02d413e65cb3e5d7b29c.tar.gz
mv-7f94b974a9dd624c869c02d413e65cb3e5d7b29c.tar.bz2
mv-7f94b974a9dd624c869c02d413e65cb3e5d7b29c.zip
www-plugins/google-translation: New package
Diffstat (limited to 'www-plugins/google-translation')
-rw-r--r--www-plugins/google-translation/Manifest1
-rw-r--r--www-plugins/google-translation/google-translation-2.6.ebuild19
-rw-r--r--www-plugins/google-translation/metadata.xml8
3 files changed, 28 insertions, 0 deletions
diff --git a/www-plugins/google-translation/Manifest b/www-plugins/google-translation/Manifest
new file mode 100644
index 00000000..6c6df6f6
--- /dev/null
+++ b/www-plugins/google-translation/Manifest
@@ -0,0 +1 @@
+DIST google_translation-2.6-an+fx.xpi 15349 SHA256 1cadd4d685ae884bb6fe01893a0b139910e853ba45d11b08eae6d3e04c7604cb SHA512 b781a1ef0446b24c7aad36cb025ee7a28994c89862f1cd0479d6a051c5f53dc37c2887dbdbacedeb8d114dafa8db004c6cbb6dc25dbbc69377df57b9a7ab605f
diff --git a/www-plugins/google-translation/google-translation-2.6.ebuild b/www-plugins/google-translation/google-translation-2.6.ebuild
new file mode 100644
index 00000000..d951a5d6
--- /dev/null
+++ b/www-plugins/google-translation/google-translation-2.6.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit mv_mozextension-r1
+RESTRICT="mirror"
+
+DESCRIPTION="Firefox webextension: translate to your native language a selected text"
+HOMEPAGE="https://addons.mozilla.org/en-US/firefox/addon/google-translation/"
+SRC_URI="https://addons.cdn.mozilla.net/user-media/addons/727175/${PN//-/_}-${PV}-an+fx.xpi"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+INSTALL_ID='gtranslation2@slam.com'
+
+moz_defaults -i"${INSTALL_ID}" firefox seamonkey
diff --git a/www-plugins/google-translation/metadata.xml b/www-plugins/google-translation/metadata.xml
new file mode 100644
index 00000000..b919c846
--- /dev/null
+++ b/www-plugins/google-translation/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>martin@mvath.de</email>
+ <name>Martin Väth</name>
+ </maintainer>
+</pkgmetadata>