projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f90db0
)
sci-electronics/librepcb: use xdg-utils.eclass
author
Joonas Niilola
<juippis@gentoo.org>
Sun, 8 Dec 2019 10:07:53 +0000
(12:07 +0200)
committer
Joonas Niilola
<juippis@gentoo.org>
Sun, 8 Dec 2019 10:08:16 +0000
(12:08 +0200)
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
sci-electronics/librepcb/librepcb-0.1.3.ebuild
patch
|
blob
|
history
diff --git
a/sci-electronics/librepcb/librepcb-0.1.3.ebuild
b/sci-electronics/librepcb/librepcb-0.1.3.ebuild
index 50dfacb22b3cd94922f957e5a63d7742478536bb..fe132f0537038ac33eb61cb3bd1dd92afa3a7a7e 100644
(file)
--- a/
sci-electronics/librepcb/librepcb-0.1.3.ebuild
+++ b/
sci-electronics/librepcb/librepcb-0.1.3.ebuild
@@
-3,7
+3,7
@@
EAPI=7
-inherit qmake-utils
+inherit qmake-utils
xdg-utils
DESCRIPTION="Free EDA software to develop printed circuit boards"
HOMEPAGE="https://librepcb.org/"
@@
-39,3
+39,15
@@
src_configure() {
src_install() {
emake INSTALL_ROOT="${D}" install
}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+}