sci-geosciences/opencpn: fix docs location

Closes: https://bugs.gentoo.org/831601
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
This commit is contained in:
Marc Schiffbauer
2023-06-04 10:20:07 +03:00
parent 79b17984ef
commit e67e27fd1f
@@ -65,6 +65,13 @@ src_configure() {
cmake_src_configure
}
src_install() {
default
cmake_src_install
mv "${D}/usr/share/doc/${PN}"/* "${D}/usr/share/doc/${PF}" || die
rmdir "${D}/usr/share/doc/${PN}"
}
pkg_postinst() {
xdg_pkg_postinst