Package Details: tesseract-ocr-git 4.00.00dev.r677.gd962d344-1

Git Clone URL: (read-only, click to copy)
Package Base: tesseract-ocr-git
Description: OCR Engine developed at HP Labs and now sponsored by Google.
Upstream URL:
Licenses: Apache
Conflicts: tesseract
Provides: tesseract
Submitter: sigma
Maintainer: None
Last Packager: sigma
Votes: 5
Popularity: 0.000000
First Submitted: 2015-06-23 14:42 (UTC)
Last Updated: 2017-09-14 09:07 (UTC)

Required by (221)

Sources (1)

Latest Comments

Kaiya commented on 2022-04-27 12:14 (UTC)

@Thenujan Thanks, that works

Thenujan commented on 2021-10-21 07:11 (UTC) (edited on 2021-10-22 03:57 (UTC) by Thenujan)

Use this package build instead because master has to be changed to main in build()

# Maintainer: Chris Nixon <>
pkgdesc="OCR Engine developed at HP Labs and now sponsored by Google."
arch=('i686' 'x86_64')
depends=('gcc-libs' 'libtiff' 'libpng' 'leptonica' 'giflib' 'libjpeg')
optdepends=('cairo' 'icu' 'pango')
makedepends=('git' 'pango' 'icu' 'cairo' 'autoconf-archive')

pkgver() {
  cd tesseract-ocr
  ( set -o pipefail
    git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

pkgver() {
  cd tesseract-ocr
  echo $(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')

build() {
  cd tesseract-ocr
  git checkout main
  ./configure --prefix=/usr
  make clean

package() {
  cd tesseract-ocr
  make DESTDIR="$pkgdir/" install

cdbfoster commented on 2017-12-05 16:02 (UTC)

This needs automake to build.

lvu commented on 2017-08-31 17:25 (UTC)

This command git checkout $(git describe --tags `git rev-list --tags --max-count=1`) in PKGBUILD currently checks out the 3.05.01 version. Had to change to git checkout master Plus, autoconf-archive package is needed for build.

derbaer commented on 2017-01-08 23:28 (UTC)

I needed further dependencies to build successfully: autoconf-archive leptonica >= 1.74

mbb commented on 2016-11-29 11:25 (UTC)

The repository was moved to PKGBUILD needs to be updated.