diff options
Diffstat (limited to 'app-text/OCRmyPDF/OCRmyPDF-16.3.1.ebuild')
-rw-r--r-- | app-text/OCRmyPDF/OCRmyPDF-16.3.1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app-text/OCRmyPDF/OCRmyPDF-16.3.1.ebuild b/app-text/OCRmyPDF/OCRmyPDF-16.3.1.ebuild index 25e9576..ce4e2fe 100644 --- a/app-text/OCRmyPDF/OCRmyPDF-16.3.1.ebuild +++ b/app-text/OCRmyPDF/OCRmyPDF-16.3.1.ebuild @@ -10,7 +10,13 @@ inherit distutils-r1 optfeature shell-completion DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files" HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF" -SRC_URI="https://github.com/ocrmypdf/OCRmyPDF/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +if [[ "${PV}" =~ 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ocrmypdf/OCRmyPDF" +else + SRC_URI="https://github.com/ocrmypdf/OCRmyPDF/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi LICENSE="MPL-2.0" SLOT="0" |