# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit gnome2-utils xdg-utils DESCRIPTION="Firefox Web Browser" HOMEPAGE="" SRC_URI="https://pkg.cyberleo.net/distfiles/firefox52-52.8.0.txz" LICENSE="MPL-2.0 GPL-2 LGPL-2.1" SLOT="52" KEYWORDS="amd64" IUSE="" QA_PREBUILT="*" RDEPEND=" >=dev-libs/nss-3.28.3 >=dev-libs/nspr-4.13.1 " DEPEND="" src_unpack() { default mkdir -p "${S}" mv "${WORKDIR}/usr" "${S}" } src_install() { insinto / doins -r "${S}/usr" exeinto /usr/lib64/firefox52 doexe "${S}/usr/lib64/firefox52/firefox" doexe "${S}/usr/lib64/firefox52/firefox-bin" doexe "${S}/usr/lib64/firefox52/run-mozilla.sh" doexe "${S}/usr/lib64/firefox52/plugin-container" } pkg_postinst() { gnome2_icon_cache_update xdg_desktop_database_update } pkg_postrm() { gnome2_icon_cache_update xdg_desktop_database_update }