diff options
Diffstat (limited to 'app-editors/bluefish/bluefish-2.2.10.ebuild')
-rw-r--r-- | app-editors/bluefish/bluefish-2.2.10.ebuild | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/app-editors/bluefish/bluefish-2.2.10.ebuild b/app-editors/bluefish/bluefish-2.2.10.ebuild index edf1fbd4866e..2e9a485511db 100644 --- a/app-editors/bluefish/bluefish-2.2.10.ebuild +++ b/app-editors/bluefish/bluefish-2.2.10.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit autotools eutils fdo-mime python-single-r1 +inherit autotools gnome2-utils python-single-r1 xdg-utils MY_P=${P/_/-} @@ -77,12 +77,17 @@ src_configure() { src_install() { default - prune_libtool_files + find "${ED}" -name '*.la' -delete || die +} + +pkg_preinst() { + gnome2_icon_savelist } pkg_postinst() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update einfo "Adding XML catalog entries..." /usr/bin/xmlcatalog --noout \ @@ -94,8 +99,9 @@ pkg_postinst() { } pkg_postrm() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update einfo "Removing XML catalog entries..." /usr/bin/xmlcatalog --noout \ --del 'Bluefish/DTD/Bflang' \ |