summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2023-10-05 20:24:57 -0400
committerZac Medico <zmedico@gentoo.org>2023-10-17 21:26:06 -0700
commit92cb4b07ce1b110142d92cfae64d91939d442b48 (patch)
treeb0f751374bf3e8119e85d389c6818805a28711b2 /app-text
parentapp-text/calibre: install zsh completions (diff)
downloadgentoo-92cb4b07ce1b110142d92cfae64d91939d442b48.tar.gz
gentoo-92cb4b07ce1b110142d92cfae64d91939d442b48.tar.bz2
gentoo-92cb4b07ce1b110142d92cfae64d91939d442b48.zip
app-text/calibre: install man pages
Since calibre 3.3.0 the distfile has come with prebuilt manpages for the CLI programs. Add them to the installation. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/calibre/calibre-5.44.0-r2.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild b/app-text/calibre/calibre-5.44.0-r2.ebuild
index 8b10da02930c..9c1b2df4a7a3 100644
--- a/app-text/calibre/calibre-5.44.0-r2.ebuild
+++ b/app-text/calibre/calibre-5.44.0-r2.ebuild
@@ -237,6 +237,8 @@ src_install() {
--libdir="${EPREFIX}/usr/$(get_libdir)" \
--staging-libdir="${ED}/usr/$(get_libdir)" || die
+ cp -r man-pages/ "${ED}"/usr/share/man || die
+
find "${ED}"/usr/share -type d -empty -delete || die
einfo "Converting python shebangs"