summaryrefslogtreecommitdiff
path: root/community/tesseract/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/tesseract/PKGBUILD')
-rw-r--r--community/tesseract/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/community/tesseract/PKGBUILD b/community/tesseract/PKGBUILD
index 0ea9a782e..a55707eb7 100644
--- a/community/tesseract/PKGBUILD
+++ b/community/tesseract/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 74642 2012-08-01 04:56:09Z spupykin $
+# $Id: PKGBUILD 78897 2012-10-26 13:58:28Z 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=3
+pkgrel=5
pkgdesc="An OCR programm"
arch=(i686 x86_64)
url="http://code.google.com/p/tesseract-ocr"
@@ -63,10 +63,11 @@ build() {
}
package_tesseract() {
- cd $srcdir/$pkgname-$pkgver
+ install=tesseract.install
+ optdepends=($(for l in ${_langs[@]}; do echo tesseract-data-${l}; done))
+ cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
-
mkdir -p $pkgdir/usr/share/tessdata
}