actions.py 710 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/", "masterpdfeditor4.png")
  11. #pisitools.insinto("/usr/share/applications/", "masterpdfeditor4.desktop")
  12. pisitools.dodir("/opt/master-pdf-editor-4")
  13. pisitools.insinto("/opt/master-pdf-editor-4/lang","lang/*.qm")
  14. pisitools.insinto("/opt/master-pdf-editor-4/lang","lang/*.ts")
  15. pisitools.insinto("/usr/bin/","masterpdfeditor4")
  16. pisitools.dodoc("license.txt")