commit: 324bc605fb73e922bcd5c63aa93df7e006b546d4 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> AuthorDate: Tue Aug 18 08:47:01 2020 +0000 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> CommitDate: Tue Aug 18 08:47:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=324bc605
app-text/fb2edit: ebuild improvements Package-Manager: Portage-3.0.3, Repoman-2.3.23 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> app-text/fb2edit/fb2edit-0.1.0.ebuild | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/app-text/fb2edit/fb2edit-0.1.0.ebuild b/app-text/fb2edit/fb2edit-0.1.0.ebuild index 97067bcbb11..626eeab69e4 100644 --- a/app-text/fb2edit/fb2edit-0.1.0.ebuild +++ b/app-text/fb2edit/fb2edit-0.1.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake +inherit cmake xdg DESCRIPTION="Create and edit fb2 books" HOMEPAGE="https://github.com/vitlav/fb2edit" SRC_URI="https://github.com/vitlav/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" @@ -17,6 +17,22 @@ RDEPEND="dev-qt/qtcore:5 dev-qt/qtnetwork:5 dev-qt/qtxml:5 dev-qt/qtxmlpatterns:5 - dev-qt/linguist-tools:5 dev-libs/libxml2:2" -BDEPEND="${RDEPEND}" +BDEPEND="${RDEPEND} + dev-qt/linguist-tools:5" + +src_prepare () { + cmake_src_prepare +} + +pkg_preinst () { + xdg_pkg_preinst +} + +pkg_postinst () { + xdg_pkg_postinst +} + +pkg_postrm () { + xdg_pkg_postrm +}
