add hspell.

This commit is contained in:
4fury-c3440d8
2022-12-02 11:38:12 +03:00
parent dad473e28d
commit 3520fc17f7
3 changed files with 143 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools, pisitools, get
def setup():
autotools.configure("--enable-shared --enable-linginfo --enable-fatverb")
def build():
autotools.make("PERL_USE_UNSAFE_INC=1 hunspell")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.insinto("/usr/share/hunspell", "he.aff", "he_IL.aff")
pisitools.insinto("/usr/share/hunspell", "he.dic", "he_IL.dic")