blob: b61902ce78c9f5a48e357f1597164d5b5a0e4c06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=ocrmypdf
pkgver=6.2.0
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 py-defusedxml"
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="8bdb7bddfa3de7cbe8e06ad01606b20069f16991ca21da7c8acf675caf04cad169eb30d16aca8b821f969c15a32de1011338e502557abc0f996259e69239ce1b ocrmypdf-6.2.0.tar.gz"
|