actions.py 924 B

12345678910111213141516171819202122232425
  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 autotools
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import pisitools
  9. WorkDir = "wordlist"
  10. def install():
  11. pisitools.insinto("/usr/share/hunspell/", "en_*.dic")
  12. pisitools.insinto("/usr/share/hunspell/", "en_*.aff")
  13. for f in ("en_AU", "en_BS", "en_BW", "en_BZ", "en_DK", "en_GH", "en_HK", "en_IE", "en_IN", "en_JM", "en_NA", "en_NG", "en_NZ", "en_SG", "en_TT", "en_ZA", "en_ZW"):
  14. pisitools.dosym("en_GB-large.dic", "/usr/share/hunspell/%s.dic" % f)
  15. pisitools.dosym("en_GB-large.aff", "/usr/share/hunspell/%s.aff" % f)
  16. pisitools.dosym("en_US.dic", "/usr/share/hunspell/en_PH.dic")
  17. pisitools.dosym("en_US.aff", "/usr/share/hunspell/en_PH.aff")
  18. pisitools.dodoc("README*", "README*")