#!/bin/bash # install-mishkal # # This script installs mishkal from its Github repository and configures speech-dispatcher to use it. # # Copyright 2018, F123 Consulting, # Copyright 2018, Valdis Vitolins, # Copyright 2018, Kyle, # # This is free software; you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free # Software Foundation; either version 3, or (at your option) any later # version. # # This software is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this package; see the file COPYING. If not, write to the Free # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # Download mishkal in the directory where this script is installed. Get the user's password to continue echo Installing mishkal requires administrator privileges. cd /usr/lib/instal-mishkal # Download and build sudo git clone https://github.com/linuxscout/mishkal sudo pip2 install pyarabic sudo pip2 install qalsadi sudo pip2 install arramooz-pysqlite sudo pip2 install mysam-tagmanager sudo make mishkal