sys-process/btop: update icon cache and desktop database

Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Florian Schmaus
2022-06-04 10:19:01 +02:00
parent 202e516f5c
commit 487516d0a7
@@ -3,6 +3,8 @@
EAPI=8
inherit xdg-utils
DESCRIPTION="A monitor of resources"
HOMEPAGE="https://github.com/aristocratos/btop"
SRC_URI="https://github.com/aristocratos/btop/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -30,3 +32,13 @@ src_install() {
dodoc README.md CHANGELOG.md
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}