diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-08-31 22:50:05 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-08-31 22:50:05 -0400 |
commit | e38694007a1f643d82cb6d7b672b55298c864274 (patch) | |
tree | 7526a084de13ebcbd41187431dd0872883bbe79d /www-client/google-chrome-unstable | |
parent | www-client/google-chrome: ignore desktop file validation (diff) | |
download | gentoo-e38694007a1f643d82cb6d7b672b55298c864274.tar.gz gentoo-e38694007a1f643d82cb6d7b672b55298c864274.tar.bz2 gentoo-e38694007a1f643d82cb6d7b672b55298c864274.zip |
www-client/google-chrome: do all the work in src_install
Diffstat (limited to 'www-client/google-chrome-unstable')
-rw-r--r-- | www-client/google-chrome-unstable/google-chrome-unstable-54.0.2840.6.ebuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/www-client/google-chrome-unstable/google-chrome-unstable-54.0.2840.6.ebuild b/www-client/google-chrome-unstable/google-chrome-unstable-54.0.2840.6.ebuild index cb166c0b2f8d..2452d4295324 100644 --- a/www-client/google-chrome-unstable/google-chrome-unstable-54.0.2840.6.ebuild +++ b/www-client/google-chrome-unstable/google-chrome-unstable-54.0.2840.6.ebuild @@ -107,8 +107,16 @@ pkg_setup() { chromium_suid_sandbox_check_kernel_config } +src_unpack() { + : +} + src_install() { - rm -r usr/share/menu || die + dodir / + cd "${ED}" || die + unpacker + + rm -r etc usr/share/menu || die mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die pushd "${CHROME_HOME}/locales" > /dev/null || die @@ -126,14 +134,9 @@ src_install() { newicon -s ${size} "${CHROME_HOME}/product_logo_${size}.png" ${PN}.png done - insinto / - doins -r opt usr - dosym "/${CHROME_HOME}/${PN}" "/usr/bin/${MY_PN}" + dosym "/${CHROME_HOME}/${PN}" "usr/bin/${MY_PN}" - find "${ED}" -type d -empty -delete || die - chmod 755 "${ED}${CHROME_HOME}"/{chrome,${PN},nacl_helper{,_bootstrap},xdg-{mime,settings}} || die - chmod 4755 "${ED}${CHROME_HOME}/chrome-sandbox" || die - pax-mark m "${ED}${CHROME_HOME}/chrome" + pax-mark m "${CHROME_HOME}/chrome" readme.gentoo_create_doc } |