summaryrefslogtreecommitdiff
path: root/community/tesseract/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-11 09:21:42 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-11 09:21:42 -0300
commit68bbd16e228ad453736f552dc2b15c3be76cd1db (patch)
treec7016052989d601ccbe8753d14b1380a44e480fd /community/tesseract/PKGBUILD
parente99d7c51671fbbbc61348296a23ebc335c2693e9 (diff)
parentb44e3e7f16abe5e4cb428571db65d300b7cc44be (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/mingw32-pthreads/PKGBUILD community/tesseract/PKGBUILD extra/xorg-server/PKGBUILD
Diffstat (limited to 'community/tesseract/PKGBUILD')
-rw-r--r--community/tesseract/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/tesseract/PKGBUILD b/community/tesseract/PKGBUILD
index 8a7c565f1..eb69418ac 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 73535 2012-07-09 09:16:10Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andreas Hauser <andy-aur@splashground.de>
@@ -9,7 +9,7 @@ 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=2
pkgdesc="An OCR programm"
arch=(x86_64 i686 'mips64el')
url="http://code.google.com/p/tesseract-ocr"
@@ -60,7 +60,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
}