summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2023-06-04 10:18:58 +0300
committerMarc Schiffbauer <mschiff@gentoo.org>2023-06-04 10:20:07 +0300
commite67e27fd1ff2b2b98045ff7bc87217360d4e4e39 (patch)
tree5ef8a15229d4785de50b509a26026ede8677b18b /sci-geosciences/opencpn
parentsci-geosciences/opencpn: fix -native-symlinks built (diff)
downloadgentoo-e67e27fd1ff2b2b98045ff7bc87217360d4e4e39.tar.gz
gentoo-e67e27fd1ff2b2b98045ff7bc87217360d4e4e39.tar.bz2
gentoo-e67e27fd1ff2b2b98045ff7bc87217360d4e4e39.zip
sci-geosciences/opencpn: fix docs location
Closes: https://bugs.gentoo.org/831601 Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'sci-geosciences/opencpn')
-rw-r--r--sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild b/sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild
index e4f4e223eb15..82736045e5a4 100644
--- a/sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild
+++ b/sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild
@@ -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