From bc9acb693c32ac233b5c72dc1a28c0be79829c89 Mon Sep 17 00:00:00 2001 From: Logan Rathbone Date: Sun, 6 Feb 2022 15:29:18 -0500 Subject: graphics/tesseract: Updated for version 5.0.1 Signed-off-by: Willy Sudiarto Raharjo --- graphics/tesseract/tesseract.SlackBuild | 9 ++++----- graphics/tesseract/tesseract.info | 8 ++++---- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'graphics/tesseract') diff --git a/graphics/tesseract/tesseract.SlackBuild b/graphics/tesseract/tesseract.SlackBuild index 9a263742e6f6..caa5ac6b9fc0 100644 --- a/graphics/tesseract/tesseract.SlackBuild +++ b/graphics/tesseract/tesseract.SlackBuild @@ -3,7 +3,7 @@ # Copyright 2009-2010 Pierre Cazenave # Copyright 2013-2015 LukenShiro, Italy -# Copyright 2019 Logan Rathbone +# Copyright 2019-2022 Logan Rathbone # # All rights reserved. # @@ -35,7 +35,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tesseract -VERSION=${VERSION:-4.1.1} +VERSION=${VERSION:-5.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -129,9 +129,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -# Uncomment when migrating to 15.0: -## Don't ship .la files: -#rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCFILES \ diff --git a/graphics/tesseract/tesseract.info b/graphics/tesseract/tesseract.info index 14c097c0be20..976d062fd6d7 100644 --- a/graphics/tesseract/tesseract.info +++ b/graphics/tesseract/tesseract.info @@ -1,9 +1,9 @@ PRGNAM="tesseract" -VERSION="4.1.1" +VERSION="5.0.1" HOMEPAGE="https://github.com/tesseract-ocr" -DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/4.1.1/tesseract-4.1.1.tar.gz \ - https://github.com/tesseract-ocr/tessdata/raw/4.0.0/eng.traineddata" -MD5SUM="51fe2bcbff1bbce77a25d180fd247f7d \ +DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/5.0.1/tesseract-5.0.1.tar.gz \ + https://github.com/tesseract-ocr/tessdata/raw/4.1.0/eng.traineddata" +MD5SUM="5b4e638bc01850278f9948938cfc390f \ 57e0df3d84fed9fbf8c7a8e589f8f012" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3