[arch-commits] Commit in tesseract/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Mon Jan 24 10:47:10 UTC 2022
Date: Monday, January 24, 2022 @ 10:47:10
Author: alerque
Revision: 1114270
upgpkg: tesseract 5.0.1-2; add provides for soname versioning
Modified:
tesseract/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-24 10:31:11 UTC (rev 1114269)
+++ PKGBUILD 2022-01-24 10:47:10 UTC (rev 1114270)
@@ -14,7 +14,7 @@
pkgname=tesseract
pkgver=5.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="An OCR program"
arch=(x86_64)
url="https://github.com/tesseract-ocr/tesseract"
@@ -23,7 +23,8 @@
makedepends=(icu cairo pango asciidoc)
install=tesseract.install
optdepends=('icu' 'cairo' 'pango'
- $(for l in ${_langs[@]}; do echo tesseract-data-${l}; done))
+ "${_langs[@]/#/tesseract-data-}")
+provides=(libtesseract.so)
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=('b5b0e561650ed67feb1e9de38d4746121d302ae4c876c95b99b8b6f9f89d5c58'
More information about the arch-commits
mailing list