From 5757f98d00cb5c484bd3b7d386f15d28d16ef774 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Tue, 11 Sep 2018 19:58:59 +0200 Subject: www-client/dillo: EAPI7 and improve ebuild. Closes: https://bugs.gentoo.org/665720 Closes: https://github.com/gentoo/gentoo/pull/9830 --- www-client/dillo/dillo-9999.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'www-client/dillo') diff --git a/www-client/dillo/dillo-9999.ebuild b/www-client/dillo/dillo-9999.ebuild index 0d478f4ab15d..b0388a0b17e3 100644 --- a/www-client/dillo/dillo-9999.ebuild +++ b/www-client/dillo/dillo-9999.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit autotools eutils mercurial multilib toolchain-funcs +EAPI=7 + +inherit autotools desktop mercurial toolchain-funcs DESCRIPTION="Lean FLTK based web browser" HOMEPAGE="https://www.dillo.org/" @@ -29,6 +30,8 @@ PATCHES=( "${FILESDIR}"/${PN}2-inbuf.patch ) +DOCS="AUTHORS ChangeLog README NEWS doc/*.txt doc/README" + src_prepare() { default eautoreconf @@ -52,12 +55,12 @@ src_compile() { } src_install() { - dodir /etc default - use doc && dohtml html/* - dodoc AUTHORS ChangeLog README NEWS - dodoc doc/*.txt doc/README + if use doc; then + docinto html + dodoc -r html/ + fi doicon "${DISTDIR}"/${PN}.png make_desktop_entry ${PN} Dillo -- cgit v1.2.3-65-gdbad