actions.py 941 B

123456789101112131415161718192021222324
  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. def install():
  8. pisitools.insinto("/usr/share/fonts/noto", "hinted/Noto*.ttf")
  9. #pisitools.insinto("/usr/share/fonts/noto", "hinted/Noto*.ttc")
  10. #for noto-fonts-ttf-croscore
  11. pisitools.insinto("/usr/share/fonts/TTF", "hinted/Arimo*.ttf")
  12. pisitools.insinto("/usr/share/fonts/TTF", "hinted/Tinos*.ttf")
  13. pisitools.insinto("/usr/share/fonts/TTF", "hinted/Cousine*.ttf")
  14. pisitools.dosym("/etc/fonts/conf.avail/66-noto-sans.conf", "/etc/fonts/conf.d/66-noto-sans.conf")
  15. pisitools.dosym("/etc/fonts/conf.avail/66-noto-serif.conf", "/etc/fonts/conf.d/66-noto-serif.conf")
  16. pisitools.dosym("/etc/fonts/conf.avail/66-noto-mono.conf", "/etc/fonts/conf.d/66-noto-mono.conf")
  17. pisitools.dodoc("LICENSE", "README.md")