aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Frei <freijon@pm.me>2023-04-13 07:37:10 +0200
committerJonas Frei <freijon@pm.me>2023-04-13 07:37:10 +0200
commitccb14ee4943ede49dd6e01e83c79929688a918a6 (patch)
tree6d08cb19f507ef62d8f74c9ee25faf44f8c5fdd4 /app-text/OCRmyPDF
parentapp-shells/zoxide: Make use of 'shell-completion' eclass (diff)
downloadguru-ccb14ee4943ede49dd6e01e83c79929688a918a6.tar.gz
guru-ccb14ee4943ede49dd6e01e83c79929688a918a6.tar.bz2
guru-ccb14ee4943ede49dd6e01e83c79929688a918a6.zip
app-text/OCRmyPDF: Make use of 'shell-completion' eclass
Signed-off-by: Jonas Frei <freijon@pm.me>
Diffstat (limited to 'app-text/OCRmyPDF')
-rw-r--r--app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild
index 0561df0b5..59a7f5bd3 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..10} )
-inherit bash-completion-r1 distutils-r1 optfeature
+inherit distutils-r1 optfeature shell-completion
DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF"
@@ -58,8 +58,7 @@ src_install() {
distutils-r1_src_install
newbashcomp misc/completion/ocrmypdf.bash "${PN,,}"
- insinto /usr/share/fish/vendor_completions.d
- doins misc/completion/ocrmypdf.fish
+ dofishcomp misc/completion/ocrmypdf.fish
}
pkg_postinst() {