diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-10-28 11:35:50 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-10-28 11:35:50 -0300 |
commit | 8856e6fe26ce35b4caf6beeac324f583ec1b6133 (patch) | |
tree | c42a03e2b7610a39d167af36357607399aa40045 /community/tesseract | |
parent | 5100458465d1ed420073c3213349bf430075ddbc (diff) | |
parent | 0424b5fc47f106db6498c4cda3476e1d49fe0f82 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/esmtp/PKGBUILD
community/geany-plugins/PKGBUILD
community/giggle/PKGBUILD
community/guichan/PKGBUILD
community/mxml/PKGBUILD
community/ruby-gtk2/PKGBUILD
core/libtool/PKGBUILD
core/mkinitcpio-busybox/PKGBUILD
core/udev/PKGBUILD
extra/audacious/PKGBUILD
extra/conky/PKGBUILD
extra/gnome-control-center/PKGBUILD
extra/gtk2/PKGBUILD
extra/gtk3/PKGBUILD
extra/gvfs/PKGBUILD
extra/kdeutils/PKGBUILD
extra/kino/PKGBUILD
extra/mkvtoolnix/PKGBUILD
extra/poppler/PKGBUILD
extra/postfix/PKGBUILD
extra/pulseaudio/PKGBUILD
extra/qtcurve-gtk2/PKGBUILD
extra/transmission/PKGBUILD
extra/xfburn/PKGBUILD
extra/xfce4-xkb-plugin/PKGBUILD
extra/xorg-server/PKGBUILD
extra/yelp/PKGBUILD
kde-unstable/calligra/PKGBUILD
multilib/lib32-gtk2/PKGBUILD
multilib/lib32-libpulse/PKGBUILD
multilib/libtool-multilib/PKGBUILD
multilib/wine/PKGBUILD
multilib/wine/wine.install
Diffstat (limited to 'community/tesseract')
-rw-r--r-- | community/tesseract/PKGBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/community/tesseract/PKGBUILD b/community/tesseract/PKGBUILD index 98335d8ee..b75561d87 100644 --- a/community/tesseract/PKGBUILD +++ b/community/tesseract/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 28735 2010-10-05 05:30:06Z spupykin $ +# $Id: PKGBUILD 57295 2011-10-25 11:18:06Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Andreas Hauser <andy-aur@splashground.de> pkgname=tesseract -pkgver=3.00 -pkgrel=2 +pkgver=3.01 +pkgrel=1 pkgdesc="An OCR programm" arch=(x86_64 i686 'mips64el') url="http://code.google.com/p/tesseract-ocr" license=("APACHE") -depends=(libpng libtiff libjpeg zlib gcc-libs) +depends=(libpng libtiff libjpeg zlib gcc-libs leptonica) source=(http://tesseract-ocr.googlecode.com/files/$pkgname-$pkgver.tar.gz http://tesseract-ocr.googlecode.com/files/chi_tra.traineddata.gz http://tesseract-ocr.googlecode.com/files/chi_sim.traineddata.gz @@ -44,7 +44,7 @@ source=(http://tesseract-ocr.googlecode.com/files/$pkgname-$pkgver.tar.gz http://tesseract-ocr.googlecode.com/files/ces.traineddata.gz http://tesseract-ocr.googlecode.com/files/cat.traineddata.gz http://tesseract-ocr.googlecode.com/files/eng.traineddata.gz) -md5sums=('cc812a261088ea0c3d2da735be35d09f' +md5sums=('1ba496e51a42358fb9d3ffe781b2d20a' '06fce5f5c0221286eab591819406d91e' '127e0b742b615d81c3b97a555acd8285' 'f4ae2e5668f693cc51c6e3c3f57a8f1d' @@ -81,10 +81,15 @@ md5sums=('cc812a261088ea0c3d2da735be35d09f' build() { cd $srcdir/$pkgname-$pkgver + [ -f Makefile.in ] || automake + [ -f Makefile ] || ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install mkdir -p $pkgdir/usr/share/tessdata cp $srcdir/*.traineddata $pkgdir/usr/share/tessdata/ - ./configure --prefix=/usr - make || return 1 - make DESTDIR=$pkgdir install || return 1 find $pkgdir/usr/share/tessdata -type f -exec chmod 0644 {} \; } |