wok view tesseract-ocr-data/receipt @ rev 25580

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 20 07:58:44 2023 +0000 (12 months ago)
parents a77e2ca5a843
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="tesseract-ocr-data"
4 VERSION="4.1.0"
5 CATEGORY="meta"
6 SHORT_DESC="The most accurate open source OCR engine available - language data files."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://github.com/tesseract-ocr/tessdata"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/tesseract-ocr/tessdata/archive/refs/tags/$VERSION.tar.gz"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
19 }