summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-02-09 18:47:39 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-09 19:10:18 +0100
commit4d9c2013be1131a1e3998b086aaea010a8a50ad5 (patch)
tree004fc875662d37a992720d002a10878f814611e0 /media-sound/ncmpc/ncmpc-0.33-r1.ebuild
parentmedia-sound/ncmpc: Fix USE=doc man dir path (diff)
downloadgentoo-4d9c2013be1131a1e3998b086aaea010a8a50ad5.tar.gz
gentoo-4d9c2013be1131a1e3998b086aaea010a8a50ad5.tar.bz2
gentoo-4d9c2013be1131a1e3998b086aaea010a8a50ad5.zip
media-sound/ncmpc: Fix html docdir
Closes: https://bugs.gentoo.org/676084 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/ncmpc/ncmpc-0.33-r1.ebuild')
-rw-r--r--media-sound/ncmpc/ncmpc-0.33-r1.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/media-sound/ncmpc/ncmpc-0.33-r1.ebuild b/media-sound/ncmpc/ncmpc-0.33-r1.ebuild
index d1eff94cb125..73b2c26e51af 100644
--- a/media-sound/ncmpc/ncmpc-0.33-r1.ebuild
+++ b/media-sound/ncmpc/ncmpc-0.33-r1.ebuild
@@ -34,10 +34,13 @@ src_prepare() {
default
# use correct docdir and don't install license file
- sed \
- -e "/^docdir =/s/meson.project_name()/'${PF}'/" \
+ sed -e "/^docdir =/s/meson.project_name()/'${PF}'/" \
-e "s/'COPYING', //" \
-i meson.build || die
+
+ # use correct (html) docdir
+ sed -e "/install_dir:.*doc/s/meson.project_name()/'${PF}'/" \
+ -i doc/meson.build || die
}
src_configure() {