# Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=ocrmypdf pkgver=5.5 pkgrel=0 pkgdesc="Add OCR text layer to scanned PDF files" url="https://github.com/jbarlow83/OCRmyPDF" arch="noarch" license="MIT" options="!check" depends="py-ruffus py-reportlab py-img2pdf py-cffi py-pypdf2 py-pillow unpaper tesseract-ocr ghostscript qpdf python3" makedepends="python3-dev" install="" subpackages="" source="https://files.pythonhosted.org/packages/source/o/ocrmypdf/ocrmypdf-$pkgver.tar.gz" builddir="$srcdir/ocrmypdf-$pkgver" build() { cd "$builddir" python3 setup.py build } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="766c9eca66245a90e1078f5f94da6abfee5280e47ec9139443b099b7dad29df25d1bf10967dc1560a76f6cc9e2a5a72fcf1225b06d4ee97e1a5982db55005cb6 ocrmypdf-5.5.tar.gz"