commit:     fcd57b4970cd5d973eb17617600c7fc717841655
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  4 14:55:41 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Nov  4 14:57:31 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd57b49

dev-tex/pgf: fix QA warnings

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 dev-tex/pgf/pgf-3.1.4b-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-tex/pgf/pgf-3.1.4b-r2.ebuild b/dev-tex/pgf/pgf-3.1.4b-r2.ebuild
index 480b1e78c15..a5f040467ee 100644
--- a/dev-tex/pgf/pgf-3.1.4b-r2.ebuild
+++ b/dev-tex/pgf/pgf-3.1.4b-r2.ebuild
@@ -31,12 +31,12 @@ src_install() {
        cd "${S}/doc/generic/pgf" || die
        dodoc AUTHORS ChangeLog README
        if use doc; then
-               insinto /usr/share/doc/${PF}/texdoc
+               docinto /usr/share/doc/${P}/texdoc
                # pgfmanual is now split from the main tar archive
                newdoc "${DISTDIR}/${P}-pgfmanual.pdf" pgfmanual.pdf
                doins -r images macros text-en version-*
 
-               dosym "/usr/share/doc/${PF}/texdoc" "${TEXMF}/doc/latex/${PN}"
-               docompress -x "/usr/share/doc/${PF}/texdoc/"
+               dosym "${ED}/usr/share/doc/${P}/texdoc" 
"${TEXMF}/doc/latex/${PN}"
+               docompress -x "/usr/share/doc/${P}/texdoc/"
        fi
 }

Reply via email to