actions.py 848 B

12345678910111213141516171819202122232425
  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 get
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import shelltools
  10. def setup():
  11. #shelltools.system("sed -i 's|5.23.0|5.23.1|g' CMakeLists.txt")
  12. kde5.configure()
  13. def build():
  14. kde5.make()
  15. def install():
  16. kde5.install()
  17. #set pisi-crocus-ancyrensis photos as default wallpapers
  18. #pisitools.dosed("%s/usr/share/plasma/look-and-feel/org.kde.breezedark.desktop/contents/defaults" % get.installDIR(), "Next", "pisi-crocus-ancyrensis")
  19. #pisitools.dosed("%s/usr/share/plasma/look-and-feel/org.kde.breezetwilight.desktop/contents/defaults" % get.installDIR(), "Next", "pisi-crocus-ancyrensis")