summaryrefslogtreecommitdiff
path: root/tessdata_best/Pkgfile
blob: 65066f7fc1521fb9594eae5116eb23b21c5e53e9 (plain)
    1 # Description:  Best training data for tesseract OCR
    2 # URL:          https://github.com/tesseract-ocr/tessdata_best
    3 # Maintainer:   Aaron Ball, nullspoon at oper dot io
    4 # Depends on:
    5 # Nice to have: tesseract
    6 
    7 name=tessdata_best
    8 version=4.1.0
    9 release=1
   10 source=(https://github.com/tesseract-ocr/${name}/archive/${version}.tar.gz)
   11 
   12 build() {
   13   cd ${name}-${version}
   14 
   15   mkdir -p "${PKG}/usr/share/${name}"
   16   # Install all traineddata files 
   17   install -m 644 *.traineddata "${PKG}/usr/share/${name}/"
   18 }

Generated by cgit