actions.py 728 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env 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 python3modules
  7. from pisi.actionsapi import pisitools
  8. def build():
  9. python3modules.compile()
  10. def install():
  11. python3modules.install()
  12. pisitools.insinto("/usr/share/metainfo", "appimage/guiscrcpy.appdata.xml")
  13. pisitools.insinto("/usr/share/applications", "appimage/guiscrcpy.desktop")
  14. for size in ["128", "256"]:
  15. pisitools.insinto("/usr/share/icons/hicolor/%sx%s/apps" %(size, size), "appimage/guiscrcpy-%s.png" % size, "guiscrcpy.png")
  16. # pisitools.insinto("", "")
  17. pisitools.dodoc("LICENSE", "README*")