sci-electronics/sigrok-cli: Update icon cache and desktop database

Signed-off-by: Sven Wegener <swegener@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
Sven Wegener
2018-11-22 18:40:24 +00:00
parent 4b9dd9f1e0
commit 8f63c6f2d3
2 changed files with 23 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ EAPI="6"
PYTHON_COMPAT=( python3_{4,5,6} )
inherit python-single-r1
inherit gnome2-utils python-single-r1 xdg-utils
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
@@ -40,3 +40,13 @@ src_prepare() {
src_configure() {
econf $(use_with decode libsigrokdecode)
}
pkg_postinst() {
gnome2_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
gnome2_icon_cache_update
xdg_desktop_database_update
}

View File

@@ -1,11 +1,11 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_{4,5,6} )
inherit python-single-r1
inherit gnome2-utils python-single-r1 xdg-utils
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
@@ -40,3 +40,13 @@ src_prepare() {
src_configure() {
econf $(use_with decode libsigrokdecode)
}
pkg_postinst() {
gnome2_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
gnome2_icon_cache_update
xdg_desktop_database_update
}