mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/ocrmypdf: new aport
This commit is contained in:
parent
6dbcaf80a6
commit
8829f2071e
28
testing/ocrmypdf/APKBUILD
Normal file
28
testing/ocrmypdf/APKBUILD
Normal file
@ -0,0 +1,28 @@
|
||||
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
||||
# Maintainer:
|
||||
pkgname=ocrmypdf
|
||||
pkgver=5.2
|
||||
pkgrel=0
|
||||
pkgdesc="Add OCR text layer to scanned PDF files"
|
||||
url="https://github.com/jbarlow83/OCRmyPDF"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
depends="py-ruffus py-reportlab py-img2pdf py-cffi py-pypdf2 py-pillow unpaper
|
||||
tesseract-ocr ghostscript qpdf"
|
||||
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="67394bfe6d66c63608f52d54ee1377ca474fa9d6fc847ee3c9debfa51a2c68b83902ffa49600f2297c32c80e62bafc18dba7aa7e9ace440cf09dd15d65bb8448 ocrmypdf-5.2.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user