Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/btop/
Date: Sat, 04 Jun 2022 08:19:09
Message-Id: 1654330741.487516d0a72bff284b6cf330c90ff1e047f0662f.flow@gentoo
1 commit: 487516d0a72bff284b6cf330c90ff1e047f0662f
2 Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 4 08:18:26 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 4 08:19:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=487516d0
7
8 sys-process/btop: update icon cache and desktop database
9
10 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
11
12 sys-process/btop/{btop-1.2.7.ebuild => btop-1.2.7-r1.ebuild} | 12 ++++++++++++
13 1 file changed, 12 insertions(+)
14
15 diff --git a/sys-process/btop/btop-1.2.7.ebuild b/sys-process/btop/btop-1.2.7-r1.ebuild
16 similarity index 81%
17 rename from sys-process/btop/btop-1.2.7.ebuild
18 rename to sys-process/btop/btop-1.2.7-r1.ebuild
19 index 44d1c8204f7d..59381b7f2690 100644
20 --- a/sys-process/btop/btop-1.2.7.ebuild
21 +++ b/sys-process/btop/btop-1.2.7-r1.ebuild
22 @@ -3,6 +3,8 @@
23
24 EAPI=8
25
26 +inherit xdg-utils
27 +
28 DESCRIPTION="A monitor of resources"
29 HOMEPAGE="https://github.com/aristocratos/btop"
30 SRC_URI="https://github.com/aristocratos/btop/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
31 @@ -30,3 +32,13 @@ src_install() {
32
33 dodoc README.md CHANGELOG.md
34 }
35 +
36 +pkg_postinst() {
37 + xdg_desktop_database_update
38 + xdg_icon_cache_update
39 +}
40 +
41 +pkg_postrm() {
42 + xdg_desktop_database_update
43 + xdg_icon_cache_update
44 +}