From 8fa8a155305505fa5d55dfad73d8e97a5c91bc32 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sat, 12 Sep 2015 12:33:07 +0200 Subject: app-leechcraft/lc-ooronee: Use optfeature from eutils.eclass Package-Manager: portage-2.2.20 RepoMan-Options: --force Signed-off-by: Justin Lecher --- app-leechcraft/lc-ooronee/lc-ooronee-0.6.70.ebuild | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'app-leechcraft/lc-ooronee/lc-ooronee-0.6.70.ebuild') diff --git a/app-leechcraft/lc-ooronee/lc-ooronee-0.6.70.ebuild b/app-leechcraft/lc-ooronee/lc-ooronee-0.6.70.ebuild index f49cc760167..88749dca7ec 100644 --- a/app-leechcraft/lc-ooronee/lc-ooronee-0.6.70.ebuild +++ b/app-leechcraft/lc-ooronee/lc-ooronee-0.6.70.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI="5" -inherit leechcraft +inherit eutils leechcraft DESCRIPTION="Quark handling text and images droppend onto it" @@ -17,20 +17,6 @@ RDEPEND="${DEPEND} virtual/leechcraft-quark-sideprovider " -# Grabbed from net-misc/netctl ebuild. -optfeature() { - local desc=$1 - shift - while (( $# )); do - if has_version "$1"; then - elog " [I] $1 to ${desc}" - else - elog " [ ] $1 to ${desc}" - fi - shift - done -} - pkg_postinst() { elog "Install at least some of the following additional LeechCraft modules for Ooronee to be useful:" optfeature "upload images" app-leechcraft/lc-imgaste app-leechcraft/lc-blasq -- cgit v1.2.1