Package: calibre Version: 2.5.0+dfsg-1 calibre's installer can generate bash and zsh completions for all command-line programs. The zsh completions do not automatically get installed, however, since the destination directory is not predictable (unlike bash).
In order to ensure the completions are installed, you must first create the directory under the staging installation root, for example: mkdir -p "${DESTDIR}"/usr/share/zsh/site-functions/ (per the default zsh upstream directory). IIRC, Debian uses the directory .../zsh/vendor-completions/ instead. Whatever it is, calibre will detect it exists, and try to write completions to it. For more details, see the source code (which enumerates the directories it searches for): https://github.com/kovidgoyal/calibre/blob/e721f8aa3ede7ae1c62fb5a8b4a52ca5562e4df7/src/calibre/linux.py#L194-L210 -- Eli Schwartz Arch Linux Bug Wrangler and Trusted User
signature.asc
Description: OpenPGP digital signature