1 |
commit: ea54daa002c9706490073c2ae33c520d73670838 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 6 10:18:18 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 6 10:18:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea54daa0 |
7 |
|
8 |
net-misc/dhcpcd-ui: Revbump to update icon cache |
9 |
|
10 |
Thanks-to: Drake Donahue <donahue95 <AT> comcast.net> |
11 |
Bug: https://bugs.gentoo.org/735528 |
12 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
13 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
14 |
|
15 |
.../{dhcpcd-ui-0.7.7.ebuild => dhcpcd-ui-0.7.7-r1.ebuild} | 11 +++++++++-- |
16 |
1 file changed, 9 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.7.ebuild b/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.7-r1.ebuild |
19 |
similarity index 92% |
20 |
rename from net-misc/dhcpcd-ui/dhcpcd-ui-0.7.7.ebuild |
21 |
rename to net-misc/dhcpcd-ui/dhcpcd-ui-0.7.7-r1.ebuild |
22 |
index 10e3fb26161..8cd78ad55b5 100644 |
23 |
--- a/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.7.ebuild |
24 |
+++ b/net-misc/dhcpcd-ui/dhcpcd-ui-0.7.7-r1.ebuild |
25 |
@@ -3,7 +3,7 @@ |
26 |
|
27 |
EAPI=7 |
28 |
|
29 |
-inherit systemd |
30 |
+inherit systemd xdg |
31 |
|
32 |
DESCRIPTION="Desktop notification and configuration for dhcpcd" |
33 |
HOMEPAGE="https://roy.marples.name/projects/dhcpcd-ui/" |
34 |
@@ -62,6 +62,13 @@ src_configure() { |
35 |
|
36 |
src_install() { |
37 |
emake DESTDIR="${D}" INSTALL_ROOT="${D}" install |
38 |
- |
39 |
systemd_dounit src/dhcpcd-online/dhcpcd-wait-online.service |
40 |
} |
41 |
+ |
42 |
+pkg_postinst() { |
43 |
+ xdg_icon_cache_update |
44 |
+} |
45 |
+ |
46 |
+pkg_postrm() { |
47 |
+ xdg_icon_cache_update |
48 |
+} |