[arch-commits] Commit in tesseract-data/repos/community-any (PKGBUILD PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Sun May 16 13:08:29 UTC 2021
Date: Sunday, May 16, 2021 @ 13:08:29
Author: spupykin
Revision: 935790
archrelease: copy trunk to community-any
Added:
tesseract-data/repos/community-any/PKGBUILD
(from rev 935789, tesseract-data/trunk/PKGBUILD)
Deleted:
tesseract-data/repos/community-any/PKGBUILD
----------+
PKGBUILD | 85 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-16 13:07:54 UTC (rev 935789)
+++ PKGBUILD 2021-05-16 13:08:29 UTC (rev 935790)
@@ -1,42 +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 bul cat ceb ces
-chi_sim chi_tra chr cym dan dan_frak deu deu_frak dzo ell eng enm epo
-equ est eus fas fin fra frk frm gle glg grc guj hat heb hin hrv hun
-iku ind isl ita ita_old jav jpn kan kat kat_old kaz khm kir kor kur
-lao lat lav lit mal mar mkd mlt msa mya nep nld nor ori pan pol
-por pus ron rus san sin slk slk_frak slv spa spa_old sqi srp srp_latn
-swa swe syr tam tel tgk tgl tha tir tur uig ukr urd uzb uzb_cyrl vie yid)
-
-pkgbase=tesseract-data
-pkgname=($(for l in ${_langs[@]}; do echo tesseract-data-${l}; done))
-epoch=2
-pkgver=4.0.0
-pkgrel=1
-pkgdesc="An OCR programm"
-arch=(any)
-url="https://github.com/tesseract-ocr/tessdata"
-license=("APACHE")
-depends=()
-source=($pkgbase-$pkgver.tar.gz::https://github.com/tesseract-ocr/tessdata/archive/$pkgver.tar.gz)
-sha256sums=('38c637d3a1763f6c3d32e8f1d979f045668676ec5feb8ee1869ee77cedd31b08')
-
-build() {
- true
-}
-
-# Declare the package functions for data
-for l in ${_langs[@]}; do
- eval "
-package_tesseract-data-${l}(){
- pkgdesc=\"Tesseract OCR data ($l)\"
- depends=('tesseract')
- groups=('tesseract-data')
-
- mkdir -p \$pkgdir/usr/share/tessdata
- cp \$srcdir/tessdata-$pkgver/${l}.* \$pkgdir/usr/share/tessdata/
- find \$pkgdir/usr/share/tessdata -type f -exec chmod 0644 {} \;
-}
- "
-done
Copied: tesseract-data/repos/community-any/PKGBUILD (from rev 935789, tesseract-data/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-16 13:08:29 UTC (rev 935790)
@@ -0,0 +1,43 @@
+# 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)
+
+pkgbase=tesseract-data
+pkgname=($(for l in ${_langs[@]}; do echo tesseract-data-${l}; done))
+epoch=2
+pkgver=4.0.0
+pkgrel=2
+pkgdesc="An OCR programm"
+arch=(any)
+url="https://github.com/tesseract-ocr/tessdata"
+license=("APACHE")
+depends=()
+source=($pkgbase-$pkgver.tar.gz::https://github.com/tesseract-ocr/tessdata/archive/$pkgver.tar.gz)
+sha256sums=('38c637d3a1763f6c3d32e8f1d979f045668676ec5feb8ee1869ee77cedd31b08')
+
+build() {
+ true
+}
+
+# Declare the package functions for data
+for l in ${_langs[@]}; do
+ eval "
+package_tesseract-data-${l}(){
+ pkgdesc=\"Tesseract OCR data ($l)\"
+ depends=('tesseract')
+ groups=('tesseract-data')
+
+ mkdir -p \$pkgdir/usr/share/tessdata
+ cp \$srcdir/tessdata-$pkgver/${l}.* \$pkgdir/usr/share/tessdata/
+ find \$pkgdir/usr/share/tessdata -type f -exec chmod 0644 {} \;
+}
+ "
+done
More information about the arch-commits
mailing list