summaryrefslogtreecommitdiff
path: root/app-text/OCRmyPDF/OCRmyPDF-16.4.3.ebuild
diff options
context:
space:
mode:
authorMarcin Deranek <marcin.deranek@slonko.net>2024-08-31 10:44:46 +0200
committerMarcin Deranek <marcin.deranek@slonko.net>2024-08-31 10:44:46 +0200
commit9189bd1c4b9baf36c9b404aa6869e07d72bacaf9 (patch)
tree7b6311a63ba38f295b3fecebb5fb544e5eb1058d /app-text/OCRmyPDF/OCRmyPDF-16.4.3.ebuild
parentb631960c5de20ab63911e1e0896cb3d731bc553e (diff)
downloadportage-9189bd1c4b9baf36c9b404aa6869e07d72bacaf9.tar.gz
portage-9189bd1c4b9baf36c9b404aa6869e07d72bacaf9.tar.bz2
portage-9189bd1c4b9baf36c9b404aa6869e07d72bacaf9.zip
app-text/OCRmyPDF Add support for OCRmyPDF from git
Diffstat (limited to 'app-text/OCRmyPDF/OCRmyPDF-16.4.3.ebuild')
-rw-r--r--app-text/OCRmyPDF/OCRmyPDF-16.4.3.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/app-text/OCRmyPDF/OCRmyPDF-16.4.3.ebuild b/app-text/OCRmyPDF/OCRmyPDF-16.4.3.ebuild
index 25e9576..6ec30ad 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-16.4.3.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-16.4.3.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"