--- /usr/portage/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0.1-r1.ebuild 2008-08-29 13:36:52.000000000 +0200 +++ /usr/local/portage/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0.1-r1.ebuild 2008-09-07 16:18:30.000000000 +0200 @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0.1-r1.ebuild,v 1.2 2008/08/29 11:16:43 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0.1-r1.ebuild,v 1.1 2008/07/18 17:12:30 armin76 Exp $ inherit eutils mozilla-launcher multilib mozextension @@ -94,6 +94,10 @@ src_install() { declare MOZILLA_FIVE_HOME=/opt/firefox + # Install icon and .desktop for menu entry + newicon "${S}"/chrome/icons/default/default48.png ${PN}-icon.png || die + domenu "${FILESDIR}"/icon/${PN}.desktop + # Install firefox in /opt dodir ${MOZILLA_FIVE_HOME%/*} mv "${S}" "${D}"${MOZILLA_FIVE_HOME} @@ -121,10 +125,6 @@ EOF fperms 0755 /usr/bin/firefox-bin - # Install icon and .desktop for menu entry - doicon "${FILESDIR}"/icon/${PN}-icon.png - domenu "${FILESDIR}"/icon/${PN}.desktop - # revdep-rebuild entry insinto /etc/revdep-rebuild doins "${FILESDIR}"/10firefox-bin