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