actions.py 683 B

12345678910111213141516171819202122232425262728293031
  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 perlmodules
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import autotools
  10. from pisi.actionsapi import get
  11. WorkDir="Font-TTF-%s" % get.srcVERSION()
  12. def setup():
  13. for d in ("README.TXT", "TODO", "Changes"):
  14. shelltools.chmod(d, 0644)
  15. perlmodules.configure()
  16. def build():
  17. perlmodules.make()
  18. def check():
  19. perlmodules.make("test")
  20. def install():
  21. perlmodules.install()
  22. pisitools.dodoc("README*", "TODO", "Changes")