# Description: Training data for tesseract OCR # URL: https://github.com/tesseract-ocr/tessdata # Maintainer: Aaron Ball, nullspoon at oper dot io # Depends on: # Nice to have: tesseract name=tessdata version=4.0.0 release=1 source=(https://github.com/tesseract-ocr/${name}/archive/${version}.tar.gz) build() { cd ${name}-${version} # Install all traineddata files mkdir -p ${PKG}/usr/share/tessdata/ install -m 644 *.traineddata ${PKG}/usr/share/tessdata/ }