media-libs/lvtk: fixed doc installation

Closes: https://bugs.gentoo.org/625366
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc
2020-08-01 14:11:34 +02:00
parent f61fabf35c
commit 8e8b4a01dc
+3 -3
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -49,7 +49,7 @@ src_install() {
# It does not respect docdir properly, reported upstream
if use doc; then
mv "${ED}/usr/share/doc/${PF}/lvtk-1.0/html" "${ED}/usr/share/doc/${PF}/html" || die
rmdir "${ED}/usr/share/doc/${PF}/lvtk-1.0" || die
mv "${ED}/usr/share/doc/${PF}/lvtk-1/html" "${ED}/usr/share/doc/${PF}/html" || die
rmdir "${ED}/usr/share/doc/${PF}/lvtk-1" || die
fi
}