commit:     c8244a74291bd4df1e7bd7774e7627966a3b6918
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 12 16:07:23 2018 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Nov 12 21:18:19 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8244a74

www-client/google-chrome: decompress documentation

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .../google-chrome-beta/google-chrome-beta-71.0.3578.44.ebuild      | 7 +++++++
 .../google-chrome-unstable-72.0.3602.2.ebuild                      | 7 +++++++
 www-client/google-chrome/google-chrome-70.0.3538.102.ebuild        | 7 +++++++
 3 files changed, 21 insertions(+)

diff --git 
a/www-client/google-chrome-beta/google-chrome-beta-71.0.3578.44.ebuild 
b/www-client/google-chrome-beta/google-chrome-beta-71.0.3578.44.ebuild
index 88e80e216eb..71049536032 100644
--- a/www-client/google-chrome-beta/google-chrome-beta-71.0.3578.44.ebuild
+++ b/www-client/google-chrome-beta/google-chrome-beta-71.0.3578.44.ebuild
@@ -94,6 +94,13 @@ src_install() {
        rm -r etc usr/share/menu || die
        mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
 
+       gzip -d usr/share/doc/${PF}/changelog.gz || die
+       gzip -d usr/share/man/man1/${MY_PN}.1.gz || die
+       if [[ -L usr/share/man/man1/google-chrome.1.gz ]]; then
+               rm usr/share/man/man1/google-chrome.1.gz || die
+               dosym ${MY_PN}.1 usr/share/man/man1/google-chrome.1
+       fi
+
        pushd "${CHROME_HOME}/locales" > /dev/null || die
        chromium_remove_language_paks
        popd > /dev/null || die

diff --git 
a/www-client/google-chrome-unstable/google-chrome-unstable-72.0.3602.2.ebuild 
b/www-client/google-chrome-unstable/google-chrome-unstable-72.0.3602.2.ebuild
index 88e80e216eb..71049536032 100644
--- 
a/www-client/google-chrome-unstable/google-chrome-unstable-72.0.3602.2.ebuild
+++ 
b/www-client/google-chrome-unstable/google-chrome-unstable-72.0.3602.2.ebuild
@@ -94,6 +94,13 @@ src_install() {
        rm -r etc usr/share/menu || die
        mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
 
+       gzip -d usr/share/doc/${PF}/changelog.gz || die
+       gzip -d usr/share/man/man1/${MY_PN}.1.gz || die
+       if [[ -L usr/share/man/man1/google-chrome.1.gz ]]; then
+               rm usr/share/man/man1/google-chrome.1.gz || die
+               dosym ${MY_PN}.1 usr/share/man/man1/google-chrome.1
+       fi
+
        pushd "${CHROME_HOME}/locales" > /dev/null || die
        chromium_remove_language_paks
        popd > /dev/null || die

diff --git a/www-client/google-chrome/google-chrome-70.0.3538.102.ebuild 
b/www-client/google-chrome/google-chrome-70.0.3538.102.ebuild
index 88e80e216eb..71049536032 100644
--- a/www-client/google-chrome/google-chrome-70.0.3538.102.ebuild
+++ b/www-client/google-chrome/google-chrome-70.0.3538.102.ebuild
@@ -94,6 +94,13 @@ src_install() {
        rm -r etc usr/share/menu || die
        mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
 
+       gzip -d usr/share/doc/${PF}/changelog.gz || die
+       gzip -d usr/share/man/man1/${MY_PN}.1.gz || die
+       if [[ -L usr/share/man/man1/google-chrome.1.gz ]]; then
+               rm usr/share/man/man1/google-chrome.1.gz || die
+               dosym ${MY_PN}.1 usr/share/man/man1/google-chrome.1
+       fi
+
        pushd "${CHROME_HOME}/locales" > /dev/null || die
        chromium_remove_language_paks
        popd > /dev/null || die

Reply via email to