actions.py 879 B

1234567891011121314151617181920212223
  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. from pisi.actionsapi import shelltools
  8. def install():
  9. shelltools.chmod("*.ttf", 0644)
  10. pisitools.insinto("/usr/share/fonts/sil-lateef", "*.ttf")
  11. pisitools.dodoc("OFL.txt", "OFL-FAQ.txt", "README.txt", "FONTLOG.txt")
  12. pisitools.insinto("/usr/share/sil-lateef/documentation","./documentation/pdf/*.pdf")
  13. pisitools.insinto("/usr/share/sil-lateef/documentation","./documentation/DOCUMENTATION.txt")
  14. pisitools.insinto("/usr/share/sil-lateef/web","./web/*.html")
  15. pisitools.insinto("/usr/share/sil-lateef/web","./web/*.css")
  16. pisitools.insinto("/usr/share/sil-lateef/web","./web/*.woff")
  17. pisitools.insinto("/usr/share/sil-lateef/web","./web/*.woff2")