summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-plugins/stylish/stylish-2.0.4.ebuild')
-rw-r--r--www-plugins/stylish/stylish-2.0.4.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/www-plugins/stylish/stylish-2.0.4.ebuild b/www-plugins/stylish/stylish-2.0.4.ebuild
new file mode 100644
index 00000000..0a6f3884
--- /dev/null
+++ b/www-plugins/stylish/stylish-2.0.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit mv_mozextension-r1 readme.gentoo-r1
+RESTRICT="mirror"
+
+DESCRIPTION="Mozilla plugin to modify style of certain web pages (e.g. Gentoo forums)"
+HOMEPAGE="https://addons.mozilla.org/firefox/addon/stylish/"
+SRC_URI="https://addons.cdn.mozilla.net/user-media/addons/2108/${P}-sm+tb+fx+an.xpi -> ${P}.xpi"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DISABLE_AUTOFORMATTING="true"
+DOC_CONTENTS="You will probably want to setup the \"Darker forum\" style.
+The old version could be found at
+ http://jesgue.homelinux.org/other-files/dark-gentoo-forums.css
+but meanwhile it is easier to surf with javascript activated to
+ http://userstyles.org/users/8172
+Note that you have to temporarily disable noscript for that site."
+
+moz_defaults
+
+src_install() {
+ moz_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}