tesseract-data:moved from contrib and rebuilt

This commit is contained in:
blue-devil
2020-01-19 03:54:18 +03:00
parent 82869f06d6
commit 7686deaae8
3 changed files with 231 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def install():
for f in ["tur*", "aze.*", "aze_*","eng*", "deu*", "fra*", "ita*", "jpn*", "rus*", "spa*"]:
pisitools.insinto("/usr/share/tessdata", f)
#shelltools.chmod(get.installDIR() + "/usr/share/tessdata/*")