actions.py 709 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 shelltools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. def install():
  10. pisitools.insinto("/usr/share/pixmaps/", "masterpdfeditor5.png")
  11. pisitools.insinto("/usr/share/applications/", "masterpdfeditor5.desktop")
  12. pisitools.dodir("/opt/master-pdf-editor-5")
  13. pisitools.insinto("/opt/master-pdf-editor-5/lang","lang/*.qm")
  14. pisitools.insinto("/opt/master-pdf-editor-5/lang","lang/*.ts")
  15. pisitools.insinto("/usr/bin/","masterpdfeditor5")
  16. pisitools.dodoc("license.txt")