[arch-commits] Commit in tesseract/repos (6 files)
Date: Sunday, November 11, 2018 @ 20:19:04 Author: jelle Revision: 406384 db-move: moved tesseract from [community-testing] to [community] (x86_64) Added: tesseract/repos/community-x86_64/PKGBUILD (from rev 406383, tesseract/repos/community-testing-x86_64/PKGBUILD) tesseract/repos/community-x86_64/fix_man_page_html.patch (from rev 406383, tesseract/repos/community-testing-x86_64/fix_man_page_html.patch) tesseract/repos/community-x86_64/tesseract.install (from rev 406383, tesseract/repos/community-testing-x86_64/tesseract.install) Deleted: tesseract/repos/community-testing-x86_64/ tesseract/repos/community-x86_64/PKGBUILD tesseract/repos/community-x86_64/tesseract.install --+ /PKGBUILD| 47 + /tesseract.install |7 community-x86_64/PKGBUILD| 40 community-x86_64/fix_man_page_html.patch | 11 ++ community-x86_64/tesseract.install |7 5 files changed, 65 insertions(+), 47 deletions(-) Deleted: community-x86_64/PKGBUILD === --- community-x86_64/PKGBUILD 2018-11-11 19:58:23 UTC (rev 406383) +++ community-x86_64/PKGBUILD 2018-11-11 20:19:04 UTC (rev 406384) @@ -1,40 +0,0 @@ -# Maintainer: Sergej Pupykin -# Contributor: Andreas Hauser - -_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell eng enm -epo equ est eus fin fra frk frm glg grc heb hin hrv hun ind isl ita ita_old -jpn kan kor lav lit mal mkd mlt msa nld nor pol por ron rus slk slv spa -spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) - -pkgname=tesseract -pkgver=3.05.01 -pkgrel=7 -pkgdesc="An OCR program" -arch=(x86_64) -url="https://github.com/tesseract-ocr/tesseract"; -license=("APACHE") -depends=(libpng libtiff libjpeg-turbo zlib giflib gcc-libs leptonica) -makedepends=(icu cairo pango) -install=tesseract.install -optdepends=('icu' 'cairo' 'pango' - $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) -source=($pkgname-$pkgver.tar.gz::https://github.com/tesseract-ocr/tesseract/archive/$pkgver.tar.gz - https://github.com/tesseract-ocr/tessdata/raw/bf82613055ebc6e63d9e3b438a5c234bfd638c93/osd.traineddata) -sha256sums=('05898f93c5d057fada49b9a116fc86ad9310ff1726a0f499c3e5211b3af47ec1' -'9cf5d576fcc47564f11265841e5ca839001e7e6f38ff7f7aacf46d15a96b00ff') - -build() { - cd "$srcdir"/$pkgname-${pkgver} - [ -x configure ] || ./autogen.sh - [ -f Makefile ] || ./configure --prefix=/usr - make - make training -} - -package() { - cd "$srcdir"/$pkgname-${pkgver} - make DESTDIR="$pkgdir" install - make DESTDIR="$pkgdir" training-install - mkdir -p "$pkgdir"/usr/share/tessdata - install -Dm0644 "$srcdir"/osd.traineddata "$pkgdir"/usr/share/tessdata/osd.traineddata -} Copied: tesseract/repos/community-x86_64/PKGBUILD (from rev 406383, tesseract/repos/community-testing-x86_64/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2018-11-11 20:19:04 UTC (rev 406384) @@ -0,0 +1,47 @@ +# Maintainer: Sergej Pupykin +# Contributor: Andreas Hauser + +_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell eng enm +epo equ est eus fin fra frk frm glg grc heb hin hrv hun ind isl ita ita_old +jpn kan kor lav lit mal mkd mlt msa nld nor pol por ron rus slk slv spa +spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) + +pkgname=tesseract +pkgver=4.0.0 +pkgrel=1 +pkgdesc="An OCR program" +arch=(x86_64) +url="https://github.com/tesseract-ocr/tesseract"; +license=("APACHE") +depends=(libpng libtiff libjpeg-turbo zlib giflib gcc-libs leptonica) +makedepends=(icu cairo pango asciidoc) +install=tesseract.install +optdepends=('icu' 'cairo' 'pango' + $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) +source=($pkgname-$pkgver.tar.gz::https://github.com/tesseract-ocr/tesseract/archive/$pkgver.tar.gz + https://github.com/tesseract-ocr/tessdata/raw/bf82613055ebc6e63d9e3b438a5c234bfd638c93/osd.traineddata +fix_man_page_html.patch) +sha256sums=('a1f5422ca49a32e5f35c54dee5112b11b99928fc9f4ee6695cdc6768d69f61dd' +'9cf5d576fcc47564f11265841e5ca839001e7e6f38ff7f7aacf46d15a96b00ff' +'d5fa9a8605afa775255404acb882471f894dc0d4de87eb8333fd155d649b7235') + +prepare() { + cd "$srcdir"/$pkgname-${pkgver} + patch -Np0 -i "${srcdir}/fix_man_page_html.patch" +} + +build() { + cd "$srcdir"/$pkgname-${pkgver} + [ -x configure ] || ./autogen.sh + [ -f Makefile ] || ./configure --prefix=/usr + make + make training +} + +package() { + cd "$srcdir"/$pkgname-${pkgver} + make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" training-install + mkdir -p "$pkgdir"/usr/share/tessdata + install -Dm0644 "$srcdir"/os
[arch-commits] Commit in tesseract/repos (6 files)
Date: Tuesday, April 25, 2017 @ 05:57:23 Author: foutrelis Revision: 225260 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: tesseract/repos/community-staging-i686/ tesseract/repos/community-staging-i686/PKGBUILD (from rev 225259, tesseract/trunk/PKGBUILD) tesseract/repos/community-staging-i686/tesseract.install (from rev 225259, tesseract/trunk/tesseract.install) tesseract/repos/community-staging-x86_64/ tesseract/repos/community-staging-x86_64/PKGBUILD (from rev 225259, tesseract/trunk/PKGBUILD) tesseract/repos/community-staging-x86_64/tesseract.install (from rev 225259, tesseract/trunk/tesseract.install) + community-staging-i686/PKGBUILD| 42 +++ community-staging-i686/tesseract.install |7 community-staging-x86_64/PKGBUILD | 42 +++ community-staging-x86_64/tesseract.install |7 4 files changed, 98 insertions(+) Copied: tesseract/repos/community-staging-i686/PKGBUILD (from rev 225259, tesseract/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-04-25 05:57:23 UTC (rev 225260) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Andreas Hauser + +_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell +eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin hrv hun +ind isl ita ita_old jpn kan kor lav lit mal mkd mlt msa nld nor pol por +ron rus slk slv spa spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) + +pkgname=tesseract +pkgver=3.05.00 +pkgrel=2 +pkgdesc="An OCR program" +arch=(i686 x86_64) +#url="http://code.google.com/p/tesseract-ocr"; +url="https://github.com/tesseract-ocr/tesseract"; +license=("APACHE") +depends=(libpng libtiff libjpeg zlib giflib gcc-libs leptonica) +makedepends=(icu cairo pango) +install=tesseract.install +optdepends=('icu' 'cairo' 'pango' + $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) +source=($pkgname-$pkgver.tar.gz::https://github.com/tesseract-ocr/tesseract/archive/$pkgver.tar.gz + https://github.com/tesseract-ocr/tessdata/raw/master/osd.traineddata) +sha256sums=('3fe83e06d0f73b39f6e92ed9fc7ccba3ef734877b76aa5ddaaa778fac095d996' +'9cf5d576fcc47564f11265841e5ca839001e7e6f38ff7f7aacf46d15a96b00ff') + +build() { + cd "$srcdir"/$pkgname-${pkgver} + [ -x configure ] || ./autogen.sh + [ -f Makefile ] || ./configure --prefix=/usr + make + make training +} + +package() { + cd "$srcdir"/$pkgname-${pkgver} + make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" training-install + mkdir -p "$pkgdir"/usr/share/tessdata + install -Dm0644 "$srcdir"/osd.traineddata "$pkgdir"/usr/share/tessdata/osd.traineddata +} Copied: tesseract/repos/community-staging-i686/tesseract.install (from rev 225259, tesseract/trunk/tesseract.install) === --- community-staging-i686/tesseract.install(rev 0) +++ community-staging-i686/tesseract.install2017-04-25 05:57:23 UTC (rev 225260) @@ -0,0 +1,7 @@ +post_install() { + echo "You must install one of tesseract-data-* packages or whole tesseract-data group" +} + +post_upgrade() { + post_install +} Copied: tesseract/repos/community-staging-x86_64/PKGBUILD (from rev 225259, tesseract/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-04-25 05:57:23 UTC (rev 225260) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Andreas Hauser + +_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell +eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin hrv hun +ind isl ita ita_old jpn kan kor lav lit mal mkd mlt msa nld nor pol por +ron rus slk slv spa spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) + +pkgname=tesseract +pkgver=3.05.00 +pkgrel=2 +pkgdesc="An OCR program" +arch=(i686 x86_64) +#url="http://code.google.com/p/tesseract-ocr"; +url="https://github.com/tesseract-ocr/tesseract"; +license=("APACHE") +depends=(libpng libtiff libjpeg zlib giflib gcc-libs leptonica) +makedepends=(icu cairo pango) +install=tesseract.install +optdepends=('icu' 'cairo' 'pango' + $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) +source=($pkgname-$pkgver.tar.gz::https://github.com/tesseract-ocr/tesseract/archive/$pkgver.tar.gz + https://github.com/tesseract-ocr/tessdata/raw/master/osd.traineddata) +sha256sums=('3fe83e06d0f73b39f6e92ed9fc7ccba3ef734877b76aa5ddaaa778fac095d996' +'9cf5d576fcc47564f11265841e5ca839001e7e6f38ff7f7aacf46d15a96b00ff') + +build() { + cd "$srcdir"/$pkgname-${pkgver} +
[arch-commits] Commit in tesseract/repos (6 files)
Date: Saturday, November 26, 2016 @ 19:54:49 Author: foutrelis Revision: 196964 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: tesseract/repos/community-staging-i686/ tesseract/repos/community-staging-i686/PKGBUILD (from rev 196963, tesseract/trunk/PKGBUILD) tesseract/repos/community-staging-i686/tesseract.install (from rev 196963, tesseract/trunk/tesseract.install) tesseract/repos/community-staging-x86_64/ tesseract/repos/community-staging-x86_64/PKGBUILD (from rev 196963, tesseract/trunk/PKGBUILD) tesseract/repos/community-staging-x86_64/tesseract.install (from rev 196963, tesseract/trunk/tesseract.install) + community-staging-i686/PKGBUILD| 41 +++ community-staging-i686/tesseract.install |7 community-staging-x86_64/PKGBUILD | 41 +++ community-staging-x86_64/tesseract.install |7 4 files changed, 96 insertions(+) Copied: tesseract/repos/community-staging-i686/PKGBUILD (from rev 196963, tesseract/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-11-26 19:54:49 UTC (rev 196964) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Andreas Hauser + +_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell +eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin hrv hun +ind isl ita ita_old jpn kan kor lav lit mal mkd mlt msa nld nor pol por +ron rus slk slv spa spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) + +pkgname=tesseract +pkgver=3.04.01 +pkgrel=2 +pkgdesc="An OCR program" +arch=(i686 x86_64) +#url="http://code.google.com/p/tesseract-ocr"; +url="https://github.com/tesseract-ocr/tesseract"; +license=("APACHE") +depends=(libpng libtiff libjpeg zlib giflib gcc-libs leptonica) +makedepends=(icu cairo pango) +install=tesseract.install +optdepends=('icu' 'cairo' 'pango' + $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) +source=($pkgname-$pkgver.tar.gz::https://github.com/tesseract-ocr/tesseract/archive/$pkgver.tar.gz + https://github.com/tesseract-ocr/tessdata/raw/master/osd.traineddata) +md5sums=('645a21effcf2825a3473849d72a7fd90' + 'd7c06843a771f30fb64b4109a1b059f9') + +build() { + cd "$srcdir"/$pkgname-${pkgver} + [ -f Makefile ] || ./configure --prefix=/usr + make + make training +} + +package() { + cd "$srcdir"/$pkgname-${pkgver} + make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" training-install + mkdir -p "$pkgdir"/usr/share/tessdata + install -Dm0644 "$srcdir"/osd.traineddata "$pkgdir"/usr/share/tessdata/osd.traineddata +} Copied: tesseract/repos/community-staging-i686/tesseract.install (from rev 196963, tesseract/trunk/tesseract.install) === --- community-staging-i686/tesseract.install(rev 0) +++ community-staging-i686/tesseract.install2016-11-26 19:54:49 UTC (rev 196964) @@ -0,0 +1,7 @@ +post_install() { + echo "You must install one of tesseract-data-* packages or whole tesseract-data group" +} + +post_upgrade() { + post_install +} Copied: tesseract/repos/community-staging-x86_64/PKGBUILD (from rev 196963, tesseract/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-11-26 19:54:49 UTC (rev 196964) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Andreas Hauser + +_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell +eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin hrv hun +ind isl ita ita_old jpn kan kor lav lit mal mkd mlt msa nld nor pol por +ron rus slk slv spa spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) + +pkgname=tesseract +pkgver=3.04.01 +pkgrel=2 +pkgdesc="An OCR program" +arch=(i686 x86_64) +#url="http://code.google.com/p/tesseract-ocr"; +url="https://github.com/tesseract-ocr/tesseract"; +license=("APACHE") +depends=(libpng libtiff libjpeg zlib giflib gcc-libs leptonica) +makedepends=(icu cairo pango) +install=tesseract.install +optdepends=('icu' 'cairo' 'pango' + $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) +source=($pkgname-$pkgver.tar.gz::https://github.com/tesseract-ocr/tesseract/archive/$pkgver.tar.gz + https://github.com/tesseract-ocr/tessdata/raw/master/osd.traineddata) +md5sums=('645a21effcf2825a3473849d72a7fd90' + 'd7c06843a771f30fb64b4109a1b059f9') + +build() { + cd "$srcdir"/$pkgname-${pkgver} + [ -f Makefile ] || ./configure --prefix=/usr + make + make training +} + +package() { + cd "$srcdir"/$pkgname-${pkgver} + make DESTDIR="$pkgdir" install + make DESTD
[arch-commits] Commit in tesseract/repos (6 files)
Date: Sunday, April 3, 2016 @ 01:02:39 Author: foutrelis Revision: 169296 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: tesseract/repos/community-staging-i686/ tesseract/repos/community-staging-i686/PKGBUILD (from rev 169295, tesseract/trunk/PKGBUILD) tesseract/repos/community-staging-i686/tesseract.install (from rev 169295, tesseract/trunk/tesseract.install) tesseract/repos/community-staging-x86_64/ tesseract/repos/community-staging-x86_64/PKGBUILD (from rev 169295, tesseract/trunk/PKGBUILD) tesseract/repos/community-staging-x86_64/tesseract.install (from rev 169295, tesseract/trunk/tesseract.install) + community-staging-i686/PKGBUILD| 41 +++ community-staging-i686/tesseract.install |7 community-staging-x86_64/PKGBUILD | 41 +++ community-staging-x86_64/tesseract.install |7 4 files changed, 96 insertions(+) Copied: tesseract/repos/community-staging-i686/PKGBUILD (from rev 169295, tesseract/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-04-02 23:02:39 UTC (rev 169296) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Andreas Hauser + +_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell +eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin hrv hun +ind isl ita ita_old jpn kan kor lav lit mal mkd mlt msa nld nor pol por +ron rus slk slv spa spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) + +pkgname=tesseract +pkgver=3.04.00 +pkgrel=5 +pkgdesc="An OCR program" +arch=(i686 x86_64) +#url="http://code.google.com/p/tesseract-ocr"; +url="https://github.com/tesseract-ocr/tesseract"; +license=("APACHE") +depends=(libpng libtiff libjpeg zlib giflib gcc-libs leptonica) +makedepends=(icu cairo pango) +install=tesseract.install +optdepends=('icu' 'cairo' 'pango' + $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) +source=($pkgname-$pkgver.tar.gz::https://github.com/tesseract-ocr/tesseract/archive/$pkgver.tar.gz + https://github.com/tesseract-ocr/tessdata/raw/master/osd.traineddata) +md5sums=('078130b9c7d28c558a0e49d432505864' + 'd7c06843a771f30fb64b4109a1b059f9') + +build() { + cd $srcdir/$pkgname-${pkgver} + [ -f Makefile ] || ./configure --prefix=/usr + make + make training +} + +package() { + cd $srcdir/$pkgname-${pkgver} + make DESTDIR=$pkgdir install + make DESTDIR=$pkgdir training-install + mkdir -p $pkgdir/usr/share/tessdata + install -Dm0644 $srcdir/osd.traineddata $pkgdir/usr/share/tessdata/osd.traineddata +} Copied: tesseract/repos/community-staging-i686/tesseract.install (from rev 169295, tesseract/trunk/tesseract.install) === --- community-staging-i686/tesseract.install(rev 0) +++ community-staging-i686/tesseract.install2016-04-02 23:02:39 UTC (rev 169296) @@ -0,0 +1,7 @@ +post_install() { + echo "You must install one of tesseract-data-* packages or whole tesseract-data group" +} + +post_upgrade() { + post_install +} Copied: tesseract/repos/community-staging-x86_64/PKGBUILD (from rev 169295, tesseract/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-04-02 23:02:39 UTC (rev 169296) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Andreas Hauser + +_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell +eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin hrv hun +ind isl ita ita_old jpn kan kor lav lit mal mkd mlt msa nld nor pol por +ron rus slk slv spa spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) + +pkgname=tesseract +pkgver=3.04.00 +pkgrel=5 +pkgdesc="An OCR program" +arch=(i686 x86_64) +#url="http://code.google.com/p/tesseract-ocr"; +url="https://github.com/tesseract-ocr/tesseract"; +license=("APACHE") +depends=(libpng libtiff libjpeg zlib giflib gcc-libs leptonica) +makedepends=(icu cairo pango) +install=tesseract.install +optdepends=('icu' 'cairo' 'pango' + $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) +source=($pkgname-$pkgver.tar.gz::https://github.com/tesseract-ocr/tesseract/archive/$pkgver.tar.gz + https://github.com/tesseract-ocr/tessdata/raw/master/osd.traineddata) +md5sums=('078130b9c7d28c558a0e49d432505864' + 'd7c06843a771f30fb64b4109a1b059f9') + +build() { + cd $srcdir/$pkgname-${pkgver} + [ -f Makefile ] || ./configure --prefix=/usr + make + make training +} + +package() { + cd $srcdir/$pkgname-${pkgver} + make DESTDIR=$pkgdir install + make DESTDIR=$pkgdir training-instal
[arch-commits] Commit in tesseract/repos (6 files)
Date: Sunday, December 6, 2015 @ 21:27:04 Author: bpiotrowski Revision: 149170 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: tesseract/repos/community-staging-i686/ tesseract/repos/community-staging-i686/PKGBUILD (from rev 149169, tesseract/trunk/PKGBUILD) tesseract/repos/community-staging-i686/tesseract.install (from rev 149169, tesseract/trunk/tesseract.install) tesseract/repos/community-staging-x86_64/ tesseract/repos/community-staging-x86_64/PKGBUILD (from rev 149169, tesseract/trunk/PKGBUILD) tesseract/repos/community-staging-x86_64/tesseract.install (from rev 149169, tesseract/trunk/tesseract.install) + community-staging-i686/PKGBUILD| 41 +++ community-staging-i686/tesseract.install |7 community-staging-x86_64/PKGBUILD | 41 +++ community-staging-x86_64/tesseract.install |7 4 files changed, 96 insertions(+) Copied: tesseract/repos/community-staging-i686/PKGBUILD (from rev 149169, tesseract/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-06 20:27:04 UTC (rev 149170) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Andreas Hauser + +_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell +eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin hrv hun +ind isl ita ita_old jpn kan kor lav lit mal mkd mlt msa nld nor pol por +ron rus slk slv spa spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) + +pkgname=tesseract +pkgver=3.04.00 +pkgrel=3 +pkgdesc="An OCR program" +arch=(i686 x86_64) +#url="http://code.google.com/p/tesseract-ocr"; +url="https://github.com/tesseract-ocr/tesseract"; +license=("APACHE") +depends=(libpng libtiff libjpeg zlib giflib gcc-libs leptonica) +makedepends=(icu cairo pango) +install=tesseract.install +optdepends=('icu' 'cairo' 'pango' + $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) +source=($pkgname-$pkgver.tar.gz::https://github.com/tesseract-ocr/tesseract/archive/$pkgver.tar.gz + https://github.com/tesseract-ocr/tessdata/raw/master/osd.traineddata) +md5sums=('078130b9c7d28c558a0e49d432505864' + 'd7c06843a771f30fb64b4109a1b059f9') + +build() { + cd $srcdir/$pkgname-${pkgver} + [ -f Makefile ] || ./configure --prefix=/usr + make + make training +} + +package() { + cd $srcdir/$pkgname-${pkgver} + make DESTDIR=$pkgdir install + make DESTDIR=$pkgdir training-install + mkdir -p $pkgdir/usr/share/tessdata + install -Dm0644 $srcdir/osd.traineddata $pkgdir/usr/share/tessdata/osd.traineddata +} Copied: tesseract/repos/community-staging-i686/tesseract.install (from rev 149169, tesseract/trunk/tesseract.install) === --- community-staging-i686/tesseract.install(rev 0) +++ community-staging-i686/tesseract.install2015-12-06 20:27:04 UTC (rev 149170) @@ -0,0 +1,7 @@ +post_install() { + echo "You must install one of tesseract-data-* packages or whole tesseract-data group" +} + +post_upgrade() { + post_install +} Copied: tesseract/repos/community-staging-x86_64/PKGBUILD (from rev 149169, tesseract/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-06 20:27:04 UTC (rev 149170) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Andreas Hauser + +_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell +eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin hrv hun +ind isl ita ita_old jpn kan kor lav lit mal mkd mlt msa nld nor pol por +ron rus slk slv spa spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) + +pkgname=tesseract +pkgver=3.04.00 +pkgrel=3 +pkgdesc="An OCR program" +arch=(i686 x86_64) +#url="http://code.google.com/p/tesseract-ocr"; +url="https://github.com/tesseract-ocr/tesseract"; +license=("APACHE") +depends=(libpng libtiff libjpeg zlib giflib gcc-libs leptonica) +makedepends=(icu cairo pango) +install=tesseract.install +optdepends=('icu' 'cairo' 'pango' + $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) +source=($pkgname-$pkgver.tar.gz::https://github.com/tesseract-ocr/tesseract/archive/$pkgver.tar.gz + https://github.com/tesseract-ocr/tessdata/raw/master/osd.traineddata) +md5sums=('078130b9c7d28c558a0e49d432505864' + 'd7c06843a771f30fb64b4109a1b059f9') + +build() { + cd $srcdir/$pkgname-${pkgver} + [ -f Makefile ] || ./configure --prefix=/usr + make + make training +} + +package() { + cd $srcdir/$pkgname-${pkgver} + make DESTDIR=$pkgdir install + make DESTDIR=$pkgdir training-i
[arch-commits] Commit in tesseract/repos (6 files)
Date: Sunday, November 1, 2015 @ 12:06:43 Author: foutrelis Revision: 145425 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: tesseract/repos/community-staging-i686/ tesseract/repos/community-staging-i686/PKGBUILD (from rev 145424, tesseract/trunk/PKGBUILD) tesseract/repos/community-staging-i686/tesseract.install (from rev 145424, tesseract/trunk/tesseract.install) tesseract/repos/community-staging-x86_64/ tesseract/repos/community-staging-x86_64/PKGBUILD (from rev 145424, tesseract/trunk/PKGBUILD) tesseract/repos/community-staging-x86_64/tesseract.install (from rev 145424, tesseract/trunk/tesseract.install) + community-staging-i686/PKGBUILD| 41 +++ community-staging-i686/tesseract.install |7 community-staging-x86_64/PKGBUILD | 41 +++ community-staging-x86_64/tesseract.install |7 4 files changed, 96 insertions(+) Copied: tesseract/repos/community-staging-i686/PKGBUILD (from rev 145424, tesseract/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-11-01 11:06:43 UTC (rev 145425) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Andreas Hauser + +_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell +eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin hrv hun +ind isl ita ita_old jpn kan kor lav lit mal mkd mlt msa nld nor pol por +ron rus slk slv spa spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) + +pkgname=tesseract +pkgver=3.04.00 +pkgrel=2 +pkgdesc="An OCR program" +arch=(i686 x86_64) +#url="http://code.google.com/p/tesseract-ocr"; +url="https://github.com/tesseract-ocr/tesseract"; +license=("APACHE") +depends=(libpng libtiff libjpeg zlib giflib gcc-libs leptonica) +makedepends=(icu cairo pango) +install=tesseract.install +optdepends=('icu' 'cairo' 'pango' + $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) +source=($pkgname-$pkgver.tar.gz::https://github.com/tesseract-ocr/tesseract/archive/$pkgver.tar.gz + https://github.com/tesseract-ocr/tessdata/raw/master/osd.traineddata) +md5sums=('078130b9c7d28c558a0e49d432505864' + 'd7c06843a771f30fb64b4109a1b059f9') + +build() { + cd $srcdir/$pkgname-${pkgver} + [ -f Makefile ] || ./configure --prefix=/usr + make + make training +} + +package() { + cd $srcdir/$pkgname-${pkgver} + make DESTDIR=$pkgdir install + make DESTDIR=$pkgdir training-install + mkdir -p $pkgdir/usr/share/tessdata + install -Dm0644 $srcdir/osd.traineddata $pkgdir/usr/share/tessdata/osd.traineddata +} Copied: tesseract/repos/community-staging-i686/tesseract.install (from rev 145424, tesseract/trunk/tesseract.install) === --- community-staging-i686/tesseract.install(rev 0) +++ community-staging-i686/tesseract.install2015-11-01 11:06:43 UTC (rev 145425) @@ -0,0 +1,7 @@ +post_install() { + echo "You must install one of tesseract-data-* packages or whole tesseract-data group" +} + +post_upgrade() { + post_install +} Copied: tesseract/repos/community-staging-x86_64/PKGBUILD (from rev 145424, tesseract/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-11-01 11:06:43 UTC (rev 145425) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Andreas Hauser + +_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell +eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin hrv hun +ind isl ita ita_old jpn kan kor lav lit mal mkd mlt msa nld nor pol por +ron rus slk slv spa spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) + +pkgname=tesseract +pkgver=3.04.00 +pkgrel=2 +pkgdesc="An OCR program" +arch=(i686 x86_64) +#url="http://code.google.com/p/tesseract-ocr"; +url="https://github.com/tesseract-ocr/tesseract"; +license=("APACHE") +depends=(libpng libtiff libjpeg zlib giflib gcc-libs leptonica) +makedepends=(icu cairo pango) +install=tesseract.install +optdepends=('icu' 'cairo' 'pango' + $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) +source=($pkgname-$pkgver.tar.gz::https://github.com/tesseract-ocr/tesseract/archive/$pkgver.tar.gz + https://github.com/tesseract-ocr/tessdata/raw/master/osd.traineddata) +md5sums=('078130b9c7d28c558a0e49d432505864' + 'd7c06843a771f30fb64b4109a1b059f9') + +build() { + cd $srcdir/$pkgname-${pkgver} + [ -f Makefile ] || ./configure --prefix=/usr + make + make training +} + +package() { + cd $srcdir/$pkgname-${pkgver} + make DESTDIR=$pkgdir install + make DESTDIR=$pkgdir training-ins
[arch-commits] Commit in tesseract/repos (6 files)
Date: Monday, April 6, 2015 @ 00:16:12 Author: spupykin Revision: 130737 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: tesseract/repos/community-staging-i686/ tesseract/repos/community-staging-i686/PKGBUILD (from rev 130736, tesseract/trunk/PKGBUILD) tesseract/repos/community-staging-i686/tesseract.install (from rev 130736, tesseract/trunk/tesseract.install) tesseract/repos/community-staging-x86_64/ tesseract/repos/community-staging-x86_64/PKGBUILD (from rev 130736, tesseract/trunk/PKGBUILD) tesseract/repos/community-staging-x86_64/tesseract.install (from rev 130736, tesseract/trunk/tesseract.install) + community-staging-i686/PKGBUILD| 43 +++ community-staging-i686/tesseract.install |7 community-staging-x86_64/PKGBUILD | 43 +++ community-staging-x86_64/tesseract.install |7 4 files changed, 100 insertions(+) Copied: tesseract/repos/community-staging-i686/PKGBUILD (from rev 130736, tesseract/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-04-05 22:16:12 UTC (rev 130737) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Andreas Hauser + +_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell +eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin hrv hun +ind isl ita ita_old jpn kan kor lav lit mal mkd mlt msa nld nor pol por +ron rus slk slv spa spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) + +pkgname=tesseract +pkgver=3.03rc1 +_pkgver=3.03 +pkgrel=3 +pkgdesc="An OCR programm" +arch=(i686 x86_64) +url="http://code.google.com/p/tesseract-ocr"; +license=("APACHE") +depends=(libpng libtiff libjpeg zlib giflib gcc-libs leptonica) +makedepends=(icu cairo pango) +install=tesseract.install +optdepends=('icu' 'cairo' 'pango' + $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) +source=("http://arch.p5n.pp.ru/~sergej/dl/2014/$pkgname-$pkgver.tar.gz"; + "https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.01.osd.tar.gz";) +md5sums=('d69ceca9ae70e0b7020d0f92d60b8565' + '683486e01f5b87c17f2f5815f770ccb3') + +build() { + cd $srcdir/$pkgname-${_pkgver} + [ -f Makefile ] || ./configure --prefix=/usr + (cd training && make clean) + make clean + make + make training +} + +package() { + cd $srcdir/$pkgname-${_pkgver} + make DESTDIR=$pkgdir install + make DESTDIR=$pkgdir training-install + mkdir -p $pkgdir/usr/share/tessdata + install -Dm0644 $srcdir/tesseract-ocr/tessdata/osd.traineddata $pkgdir/usr/share/tessdata/osd.traineddata +} Copied: tesseract/repos/community-staging-i686/tesseract.install (from rev 130736, tesseract/trunk/tesseract.install) === --- community-staging-i686/tesseract.install(rev 0) +++ community-staging-i686/tesseract.install2015-04-05 22:16:12 UTC (rev 130737) @@ -0,0 +1,7 @@ +post_install() { + echo "You must install one of tesseract-data-* packages or whole tesseract-data group" +} + +post_upgrade() { + post_install +} Copied: tesseract/repos/community-staging-x86_64/PKGBUILD (from rev 130736, tesseract/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-04-05 22:16:12 UTC (rev 130737) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Andreas Hauser + +_langs=(afr ara aze bel ben bul cat ces chi_sim chi_tra chr dan deu ell +eng enm epo epo_alt equ est eus fin fra frk frm glg grc heb hin hrv hun +ind isl ita ita_old jpn kan kor lav lit mal mkd mlt msa nld nor pol por +ron rus slk slv spa spa_old sqi srp swa swe tam tel tgl tha tur ukr vie) + +pkgname=tesseract +pkgver=3.03rc1 +_pkgver=3.03 +pkgrel=3 +pkgdesc="An OCR programm" +arch=(i686 x86_64) +url="http://code.google.com/p/tesseract-ocr"; +license=("APACHE") +depends=(libpng libtiff libjpeg zlib giflib gcc-libs leptonica) +makedepends=(icu cairo pango) +install=tesseract.install +optdepends=('icu' 'cairo' 'pango' + $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done)) +source=("http://arch.p5n.pp.ru/~sergej/dl/2014/$pkgname-$pkgver.tar.gz"; + "https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.01.osd.tar.gz";) +md5sums=('d69ceca9ae70e0b7020d0f92d60b8565' + '683486e01f5b87c17f2f5815f770ccb3') + +build() { + cd $srcdir/$pkgname-${_pkgver} + [ -f Makefile ] || ./configure --prefix=/usr + (cd training && make clean) + make clean + make + make training +} + +package() { + cd $srcdir/$pkgname-${_pkgver} + make DESTDIR=$pkgdir install + make DESTDIR=$pkgdir training