diff options
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild b/sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild index e24622bdb62c..28d5724b0e50 100644 --- a/sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild +++ b/sci-chemistry/avogadro/avogadro-1.2.0_p20170207.ebuild @@ -5,7 +5,7 @@ EAPI=6 COMMIT=258105b4d8957e0245a341cdf1dc12c72234c833 PYTHON_COMPAT=( python2_7 ) -inherit cmake-utils flag-o-matic python-single-r1 vcs-snapshot +inherit cmake-utils flag-o-matic python-single-r1 vcs-snapshot xdg-utils DESCRIPTION="Advanced molecular editor that uses Qt4 and OpenGL" HOMEPAGE="http://avogadro.openmolecules.net/" @@ -78,3 +78,13 @@ src_configure() { QT_MKSPECS_RELATIVE=share/qt4/mkspecs cmake-utils_src_configure } + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} |