[arch-commits] Commit in tesseract/repos/community-x86_64 (4 files)
Antonio Rojas
arojas at archlinux.org
Sat May 22 23:21:01 UTC 2021
Date: Saturday, May 22, 2021 @ 23:21:01
Author: arojas
Revision: 942427
archrelease: copy trunk to community-x86_64
Added:
tesseract/repos/community-x86_64/PKGBUILD
(from rev 942426, tesseract/trunk/PKGBUILD)
tesseract/repos/community-x86_64/tesseract.install
(from rev 942426, tesseract/trunk/tesseract.install)
Deleted:
tesseract/repos/community-x86_64/PKGBUILD
tesseract/repos/community-x86_64/tesseract.install
-------------------+
PKGBUILD | 88 ++++++++++++++++++++++++++--------------------------
tesseract.install | 14 ++++----
2 files changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-22 23:20:49 UTC (rev 942426)
+++ PKGBUILD 2021-05-22 23:21:01 UTC (rev 942427)
@@ -1,44 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Andreas Hauser <andy-aur at splashground.de>
-
-_langs=(afr amh ara asm aze aze_cyrl bel ben bod bos bre bul cat ceb ces
- chi_sim chi_tra chr cos cym dan dan_frak deu deu_frak dzo ell eng enm epo
- equ est eus fao fas fil fin fra frk frm fry gla gle glg grc guj hat heb
- hin hrv hun hye iku ind isl ita ita_old jav jpn kan kat kat_old kaz khm
- kir kor kor_vert kur lao lat lav lit ltz mal mar mkd mlt mon mri msa
- mya nep nld nor oci ori osd pan pol por pus que ron rus san sin slk
- slk_frak slv snd spa spa_old sqi srp srp_latn sun swa swe syr tam tat
- tel tgk tgl tha tir ton tur uig ukr urd uzb uzb_cyrl vie yid yor)
-
-pkgname=tesseract
-pkgver=4.1.1
-pkgrel=6
-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)
-sha256sums=('2a66ff0d8595bff8f04032165e6c936389b1e5727c3ce5a27b3e059d218db1cb'
- '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 942426, tesseract/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-22 23:21:01 UTC (rev 942427)
@@ -0,0 +1,44 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Andreas Hauser <andy-aur at splashground.de>
+
+_langs=(afr amh ara asm aze aze_cyrl bel ben bod bos bre bul cat ceb ces
+ chi_sim chi_tra chr cos cym dan dan_frak deu deu_frak div dzo ell eng enm epo
+ equ est eus fao fas fil fin fra frk frm fry gla gle glg grc guj hat heb
+ hin hrv hun hye iku ind isl ita ita_old jav jpn kan kat kat_old kaz khm
+ kir kmr kor kor_vert lao lat lav lit ltz mal mar mkd mlt mon mri msa
+ mya nep nld nor oci ori osd pan pol por pus que ron rus san sin slk
+ slk_frak slv snd spa spa_old sqi srp srp_latn sun swa swe syr tam tat
+ tel tgk tgl tha tir ton tur uig ukr urd uzb uzb_cyrl vie yid yor)
+
+pkgname=tesseract
+pkgver=4.1.1
+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 curl libarchive 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)
+sha256sums=('2a66ff0d8595bff8f04032165e6c936389b1e5727c3ce5a27b3e059d218db1cb'
+ '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
+}
Deleted: tesseract.install
===================================================================
--- tesseract.install 2021-05-22 23:20:49 UTC (rev 942426)
+++ tesseract.install 2021-05-22 23:21:01 UTC (rev 942427)
@@ -1,7 +0,0 @@
-post_install() {
- echo "You must install one of tesseract-data-* packages or whole tesseract-data group"
-}
-
-post_upgrade() {
- post_install
-}
Copied: tesseract/repos/community-x86_64/tesseract.install (from rev 942426, tesseract/trunk/tesseract.install)
===================================================================
--- tesseract.install (rev 0)
+++ tesseract.install 2021-05-22 23:21:01 UTC (rev 942427)
@@ -0,0 +1,7 @@
+post_install() {
+ echo "You must install one of tesseract-data-* packages or whole tesseract-data group"
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list