diff options
author | Logan Rathbone <poprocks@gmail.com> | 2019-11-09 08:17:50 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-11-09 08:17:50 +0700 |
commit | 5cf7b0b2eec64ea9f3c353ee6e0f356fc9634696 (patch) | |
tree | f99851cdbcec699bd1366c345d73c2294b7522c0 /graphics/tesseract/tesseract.SlackBuild | |
parent | f5ff088b0f9a866ffa5cf2fd1c75a7f1301580d7 (diff) |
graphics/tesseract: Updated for version 4.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/tesseract/tesseract.SlackBuild')
-rw-r--r-- | graphics/tesseract/tesseract.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/tesseract/tesseract.SlackBuild b/graphics/tesseract/tesseract.SlackBuild index 20be19b84529..bbf18f24fb8e 100644 --- a/graphics/tesseract/tesseract.SlackBuild +++ b/graphics/tesseract/tesseract.SlackBuild @@ -3,6 +3,8 @@ # Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # Copyright 2013-2015 LukenShiro, Italy +# Copyright 2019 Logan Rathbone <poprocks@gmail.com> +# # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -31,7 +33,7 @@ # Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org> PRGNAM=tesseract -VERSION=${VERSION:-3.04.00} +VERSION=${VERSION:-4.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,7 +64,7 @@ else LIBDIRSUFFIX="" fi -DOCFILES="AUTHORS COPYING ChangeLog INSTALL NEWS README ReleaseNotes" +DOCFILES="AUTHORS CONTRIBUTING.md ChangeLog LICENSE README.md" # Language data files # replace this with the 3-character ISO 639-2 language code of the language(s) # you want to install: different language data files can coexist nicely. @@ -117,6 +119,10 @@ 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 + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCFILES \ $PKG/usr/doc/$PRGNAM-$VERSION |