aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2017-08-08 01:47:12 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2017-08-08 01:47:19 +0200
commitd6eff117ad1ad271e29d3c4a418d4ea482c159c7 (patch)
tree84b359085c21b66c58aa54a0498c1ddf4584c3b5 /testing
parentdf7f4f81f7ba6c953be478a65060359a2b75408d (diff)
downloadaports-d6eff117ad1ad271e29d3c4a418d4ea482c159c7.tar.bz2
aports-d6eff117ad1ad271e29d3c4a418d4ea482c159c7.tar.xz
testing/tesseract-git: new snapshot and split training
Diffstat (limited to 'testing')
-rw-r--r--testing/tesseract-git/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/testing/tesseract-git/APKBUILD b/testing/tesseract-git/APKBUILD
index b74a752cdf..25be606f0d 100644
--- a/testing/tesseract-git/APKBUILD
+++ b/testing/tesseract-git/APKBUILD
@@ -1,9 +1,9 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=tesseract-git
-_sha=08ec5775a149e5d8959f2bd2e9c78335b5062f0f
-pkgver=20170804
-pkgrel=1
+_sha=5f5e85e4a0827cf44f57bc87344d3fa15b067a75
+pkgver=20170807
+pkgrel=0
pkgdesc="Tesseract Open Source OCR Engine"
url="https://github.com/tesseract-ocr/tesseract"
arch="all"
@@ -13,7 +13,7 @@ makedepends="cmake leptonica-dev tiff-dev icu-dev cairo-dev automake autoconf
libtool autoconf-archive pango-dev cairo-dev"
install=""
replaces="tesseract-ocr"
-subpackages="$pkgname-dev"
+subpackages="$pkgname-dev $pkgname-training"
source="tesseract-$pkgver.tar.gz::https://github.com/tesseract-ocr/tesseract/archive/$_sha.tar.gz"
builddir="$srcdir/tesseract-$_sha"
@@ -36,7 +36,11 @@ build() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
- make DESTDIR="$pkgdir" training-install
}
-sha512sums="a0efac488d1513db5a6bc889e97ae4d5e901477856598544148c5b348129c71dfbae0fe3a964daa0702c8090dffc9b433b4dcbf93246cd9c673335f5d10e8afc tesseract-20170804.tar.gz"
+training() {
+ cd "$builddir"
+ make DESTDIR="$subpkgdir" training-install
+}
+
+sha512sums="ce88bb280931c9636d72f338e1e2d159333d281016d8c71ddeb11af79b3468349eabcc50885dfa363acc8508477b86c1e4480126bb5108cf1944093f116d9b41 tesseract-20170807.tar.gz"