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

This commit is contained in:
2015-10-06 00:41:33 +03:00
parent d893acf596
commit 390608d21e
3 changed files with 72 additions and 0 deletions
@@ -0,0 +1,20 @@
#!/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
WorkDir = "hunspell"
def setup():
pisitools.dosed("catalan.aff", "\r")
pisitools.dosed("catalan.dic", "\r")
def install():
for lang in ("ca_AD", "ca_FR", "ca_IT", "ca_ES"):
pisitools.insinto("/usr/share/hunspell", "catalan.aff", lang + ".aff")
pisitools.insinto("/usr/share/hunspell", "catalan.dic", lang + ".dic")
pisitools.dohtml("release-notes*")