diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-29 06:41:42 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-29 06:41:42 +0000 |
commit | 11350cb89c4613e31c5b0c42b15ba3742e4f2f14 (patch) | |
tree | 9b22db24199038893f125c4af7a6f5242eeb97b8 | |
parent | 9c38047cd9fd8955fe8e56306c642a7cf330d8fb (diff) | |
download | aports-11350cb89c4613e31c5b0c42b15ba3742e4f2f14.tar.bz2 aports-11350cb89c4613e31c5b0c42b15ba3742e4f2f14.tar.xz |
testing/tesseract-ocr: upgrade to 3.04.01
-rw-r--r-- | testing/tesseract-ocr/APKBUILD | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/testing/tesseract-ocr/APKBUILD b/testing/tesseract-ocr/APKBUILD index 7432d5e5f1..3f97cdccb2 100644 --- a/testing/tesseract-ocr/APKBUILD +++ b/testing/tesseract-ocr/APKBUILD @@ -1,34 +1,22 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=tesseract-ocr -_realver=3.03-rc1 -pkgver=${_realver/-/_} +pkgver=3.04.01 pkgrel=0 pkgdesc="open source OCR engine" url="https://code.google.com/p/tesseract-ocr/" arch="all" license="Apache" depends="" -depends_dev="leptonica-dev" -makedepends="$depends_dev automake autoconf libtool" -install="" +depends_dev="" +makedepends="automake autoconf libtool leptonica-dev pango-dev icu-dev cairo-dev" subpackages="$pkgname-dev $pkgname-doc" -source="http://dev.alpinelinux.org/archive/tesseract-ocr/tesseract-ocr-$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/${pkgname/-*}/archive/$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$_realver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/${pkgname/-*}-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./autogen.sh || return 1 ./configure \ --build=$CBUILD \ @@ -45,10 +33,10 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="534ea3f4e7ecdb0f296cf3d4d22ec7c7 tesseract-ocr-3.03_rc1.tar.gz" -sha256sums="c316e3945184bde0475fd52f779ae984b00e0784588b2a5ceacba555ea845ba3 tesseract-ocr-3.03_rc1.tar.gz" -sha512sums="201bc42436e2abb8ee7725f249be15b48031e2070efd4ad0938d00529f6322721a544afe6d15f4abe040bf6c8149de6b3184fd960063dc9c66abdfe985546a56 tesseract-ocr-3.03_rc1.tar.gz" +md5sums="645a21effcf2825a3473849d72a7fd90 tesseract-ocr-3.04.01.tar.gz" +sha256sums="57f63e1b14ae04c3932a2683e4be4954a2849e17edd638ffe91bc5a2156adc6a tesseract-ocr-3.04.01.tar.gz" +sha512sums="816f6c29f8efeaf157891ddb022bd0daf8eb27c0cb8b6df5542e745d209f0ce617245e4583c59a561ed3216044d3afb38f8620ee94cdea656364923dcb140b5b tesseract-ocr-3.04.01.tar.gz" |