diff options
Diffstat (limited to 'community/tesseract/PKGBUILD')
-rw-r--r-- | community/tesseract/PKGBUILD | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/community/tesseract/PKGBUILD b/community/tesseract/PKGBUILD index 8a7c565f1..1ef985d0b 100644 --- a/community/tesseract/PKGBUILD +++ b/community/tesseract/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 59081 2011-11-21 09:28:09Z spupykin $ +# $Id: PKGBUILD 74642 2012-08-01 04:56:09Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Andreas Hauser <andy-aur@splashground.de> @@ -9,21 +9,17 @@ kor ell rus por bul lav lit pol dan-frak deu dan ces cat eng chi_tra chi_sim) pkgbase=tesseract pkgname=(tesseract $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) pkgver=3.01 -pkgrel=1 +pkgrel=3 pkgdesc="An OCR programm" arch=(x86_64 i686 'mips64el') url="http://code.google.com/p/tesseract-ocr" license=("APACHE") depends=(libpng libtiff libjpeg zlib giflib gcc-libs leptonica) source=(http://tesseract-ocr.googlecode.com/files/$pkgname-$pkgver.tar.gz - http://tesseract-ocr.googlecode.com/files/chi_sim.traineddata.gz - http://tesseract-ocr.googlecode.com/files/chi_tra.traineddata.gz $(for l in ${_langs[@]}; do echo http://tesseract-ocr.googlecode.com/files/${l}.traineddata.gz done)) md5sums=('1ba496e51a42358fb9d3ffe781b2d20a' - '127e0b742b615d81c3b97a555acd8285' - '06fce5f5c0221286eab591819406d91e' 'f4ae2e5668f693cc51c6e3c3f57a8f1d' '3787ff0fc1a07517203466830f6f868e' '7b50075692e7a07ac8f59e0cde51cfb9' @@ -60,7 +56,8 @@ md5sums=('1ba496e51a42358fb9d3ffe781b2d20a' build() { cd $srcdir/$pkgname-$pkgver - [ -f Makefile.in ] || automake + sed -i '1,1i#include <unistd.h>' viewer/svutil.cpp + [ -f Makefile.in ] || { aclocal && automake; } [ -f Makefile ] || ./configure --prefix=/usr make } |