hunspell-dict-nl:move into main repo for pisi 2.0

This commit is contained in:
2015-10-06 00:43:27 +03:00
parent 6cae081c3e
commit cb3e625860
3 changed files with 87 additions and 0 deletions
@@ -0,0 +1,22 @@
#!/usr/bin/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 pisitools
from pisi.actionsapi import shelltools
WorkDir = "."
def setup():
shelltools.system("unzip -o OpenTaal-210G-LO.oxt")
def install():
pisitools.insinto("/usr/share/hunspell", "*.dic")
pisitools.insinto("/usr/share/hunspell", "*.aff")
pisitools.dosym("nl_NL.dic", "/usr/share/hunspell/nl_BE.dic")
pisitools.dosym("nl_NL.aff", "/usr/share/hunspell/nl_BE.aff")
pisitools.dodoc("*.txt")