diff options
author | David Seifert <soap@gentoo.org> | 2018-04-18 14:16:17 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2018-04-18 18:44:05 +0200 |
commit | 8271b1e73247e9b715ad4a48ffa365937ad46fc5 (patch) | |
tree | 55bfcc938919144f1ed293d70b009e939e50ba13 /dev-util | |
parent | net-misc/youtube-viewer: amd64 stable wrt bug #653282 (diff) | |
download | gentoo-8271b1e73247e9b715ad4a48ffa365937ad46fc5.tar.gz gentoo-8271b1e73247e9b715ad4a48ffa365937ad46fc5.tar.bz2 gentoo-8271b1e73247e9b715ad4a48ffa365937ad46fc5.zip |
dev-util/argouml: Port to EAPI 6
Closes: https://bugs.gentoo.org/652796
Package-Manager: Portage-2.3.29, Repoman-2.3.9
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/argouml/argouml-0.34.ebuild | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/dev-util/argouml/argouml-0.34.ebuild b/dev-util/argouml/argouml-0.34.ebuild index 96dd77d1ac14..fd031b69ec0f 100644 --- a/dev-util/argouml/argouml-0.34.ebuild +++ b/dev-util/argouml/argouml-0.34.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="3" +EAPI=6 -inherit eutils fdo-mime java-pkg-2 +inherit desktop xdg-utils java-pkg-2 DESCRIPTION="Modelling tool that helps you do your design using UML" HOMEPAGE="http://argouml.tigris.org" @@ -36,13 +36,17 @@ src_install() { java-pkg_dolauncher ${PN} --main org.argouml.application.Main - dodoc ${P}/README.txt || die - - if use doc ; then - dohtml -r release/{Readme.htm,www} - insinto /usr/share/doc/${P} - doins "${DISTDIR}/manual-${PV}.pdf" - doins "${DISTDIR}/quickguide-${PV}.pdf" + dodoc ${P}/README.txt + + if use doc; then + find release/ \( -name Thumbs.db -o -name filelist.xml \) \ + -delete || die + HTML_DOCS=( release/{Readme.htm,www} ) + DOCS=( + "${DISTDIR}"/manual-${PV}.pdf + "${DISTDIR}"/quickguide-${PV}.pdf + ) + einstalldocs fi newicon ${P}/icon/ArgoIcon128x128.png ${PN}.png || die @@ -50,9 +54,9 @@ src_install() { } pkg_postinst() { - fdo-mime_desktop_database_update + xdg_desktop_database_update } pkg_postrm() { - fdo-mime_desktop_database_update + xdg_desktop_database_update } |