diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2017-10-23 11:18:14 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2017-10-23 11:18:14 +0200 |
commit | 6bd025672c400f80973efdcc089898ff6aaec5cc (patch) | |
tree | 52d4dfbfe641d714821e6f5cf310d1f9d528ef84 /community/ocrmypdf | |
parent | e399bf8edf4d00e4ee75073b6b935c901115409b (diff) | |
download | aports-6bd025672c400f80973efdcc089898ff6aaec5cc.tar.bz2 aports-6bd025672c400f80973efdcc089898ff6aaec5cc.tar.xz |
community/ocrmypdf: upgrade to 5.4.1 and move to community
Diffstat (limited to 'community/ocrmypdf')
-rw-r--r-- | community/ocrmypdf/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/ocrmypdf/APKBUILD b/community/ocrmypdf/APKBUILD new file mode 100644 index 0000000000..1f89dd07ee --- /dev/null +++ b/community/ocrmypdf/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Carlo Landmeter <clandmeter@alpinelinux.com> +# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org.com> +pkgname=ocrmypdf +pkgver=5.4.1 +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="a1600caf137d3ec7ac3528753cb317fc78fd886d9675a098aec39c4db04e639fb43f19e9d04eabaef7f5c6f14fa1c18f7ac889cef06a701e75cbee568b3953ef ocrmypdf-5.4.1.tar.gz" |