commit: cd482d64b5777de2eda8d32168194f076fe4ee03
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Nov 5 23:35:22 2023 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Nov 8 16:26:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd482d64
app-text/calibre: use modern xdg pkg_* approach
We inherit xdg and let it take care of defining these phases, rather
than inheriting a low-level eclass and manually performing it.
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
app-text/calibre/calibre-6.29.0.ebuild | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/app-text/calibre/calibre-6.29.0.ebuild
b/app-text/calibre/calibre-6.29.0.ebuild
index d6c474831e8c..7d036b7860fd 100644
--- a/app-text/calibre/calibre-6.29.0.ebuild
+++ b/app-text/calibre/calibre-6.29.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_REQ_USE="sqlite,ssl"
-inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg-utils
+inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg
DESCRIPTION="Ebook management application"
HOMEPAGE="https://calibre-ebook.com/"
@@ -241,15 +241,3 @@ src_install() {
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
}
-
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- xdg_icon_cache_update
-}