|
|
@ -12,12 +12,10 @@ |
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
autoextract=0 |
|
|
|
|
|
|
|
pkgprefix -t tesseract-ocr |
|
|
|
|
|
|
|
tesseract_lang_install() { |
|
|
|
bunzip2 -c $( match_source_file -p $pkg ) > $( pkgprefix -r datadir tesseract-ocr )/tessdata/deu.traineddata |
|
|
|
cp -av tessdata/*.traineddata $( pkgprefix -r datadir tesseract-ocr )/tessdata/ |
|
|
|
} |
|
|
|
|
|
|
|
custmain='tesseract_lang_install' |