summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-09 00:11:57 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-08-09 10:31:49 +0200
commitc26ad628b56894e28c91fe363e4399e9ec0b274d (patch)
treea7206569a30e3cb3c3701d6701d6a4693495bbc2 /sci-electronics/qelectrotech
parentsci-electronics/qelectrotech: Add live/release ebuild switch (diff)
downloadgentoo-c26ad628b56894e28c91fe363e4399e9ec0b274d.tar.gz
gentoo-c26ad628b56894e28c91fe363e4399e9ec0b274d.tar.bz2
gentoo-c26ad628b56894e28c91fe363e4399e9ec0b274d.zip
sci-electronics/qelectrotech: Simplify with xdg.eclass
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-electronics/qelectrotech')
-rw-r--r--sci-electronics/qelectrotech/qelectrotech-9999.ebuild14
1 files changed, 1 insertions, 13 deletions
diff --git a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild
index 4ac12bb6b661..bd14b719e6f5 100644
--- a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild
+++ b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit qmake-utils xdg-utils
+inherit qmake-utils xdg
DESCRIPTION="Qt5 application to design electric diagrams"
HOMEPAGE="https://qelectrotech.org/"
@@ -58,15 +58,3 @@ src_install() {
einstalldocs
}
-
-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
-}