actions.py 580 B

123456789101112131415161718192021
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/gpl.txt
  6. from pisi.actionsapi import pisitools
  7. WorkDir = "hunspell"
  8. def setup():
  9. pisitools.dosed("catalan.aff", "\r")
  10. pisitools.dosed("catalan.dic", "\r")
  11. def install():
  12. for lang in ("ca_AD", "ca_FR", "ca_IT", "ca_ES"):
  13. pisitools.insinto("/usr/share/hunspell", "catalan.aff", lang + ".aff")
  14. pisitools.insinto("/usr/share/hunspell", "catalan.dic", lang + ".dic")
  15. pisitools.dohtml("release-notes*")