actions.py 709 B

1234567891011121314151617181920212223242526
  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 kde5
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import shelltools
  9. def setup():
  10. shelltools.system("tar xf ../blue.tar.gz")
  11. kde5.configure()
  12. def build():
  13. kde5.make()
  14. def install():
  15. kde5.install()
  16. pisitools.insinto("/usr/share/wallpapers/pisilinux-blue", "blue/*")
  17. pisitools.insinto("/usr/share/wallpapers/sweet-cat", "../Sweet-cat/*")
  18. pisitools.insinto("/usr/share/wallpapers/pisi-crocus-ancyrensis", "../pisi-crocus-ancyrensis/*")
  19. pisitools.dodoc("COPYING", "AUTHORS")