summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {