summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexander Kobel2018-08-30 23:14:34 +0200
committerAlexander Kobel2018-08-30 23:14:34 +0200
commit69cfc1d80390597f9428520e38a51fd1bda0f731 (patch)
tree6ae19fd49652a4dd7d6c9a24848c5f850357abeb /PKGBUILD
downloadaur-hocr-tools.tar.gz
Initial import: v1.2.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..42078ea53e7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Alexander Kobel <a-kobel@a-kobel.de>
+pkgname='hocr-tools'
+pkgver=1.2.0
+pkgrel=1
+pkgdesc='Tools for manipulating and evaluating the hOCR format for representing multi-lingual OCR results by embedding them into HTML.'
+arch=(any)
+url=https://github.com/tmbdev
+license=(Apache)
+depends=(python)
+makedepends=(python-setuptools python-pillow python-lxml python-reportlab)
+
+source=("${url}/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('0d3fb25e48b812afc7293b0e84bda68995ccdec627befe4607be5b79b82f508b')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
+}