--- gajim-0.11.ebuild.orig 2006-12-24 17:11:43.000000000 +0100 +++ gajim-0.11.ebuild 2006-12-24 17:12:01.000000000 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit eutils virtualx multilib +inherit eutils virtualx multilib python DESCRIPTION="Jabber client written in PyGTK" HOMEPAGE="http://www.gajim.org/" @@ -109,4 +109,12 @@ src_install() { dohtml README.html } +pkg_postinst() { + python_mod_optimize /usr/share/gajim/ +} + + +pkg_postrm() { + python_mod_cleanup /usr/share/gajim/ +}