actions.py 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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 kde6
  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.11.0|5.10.0|g' CMakeLists.txt")
  12. kde6.configure()
  13. def build():
  14. kde6.make()
  15. def install():
  16. kde6.install()
  17. #pisitools.dosym("/usr/lib/drkonqi-kf6", "/usr/lib/libexec/drkonqi-kf6")
  18. pisitools.dosym("/usr/bin/startplasma-x11", "usr/bin/startkde")
  19. #set pisi-crocus-ancyrensis photos as default wallpapers
  20. pisitools.dosed("%s/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/defaults" % get.installDIR(), "Next", "pisi-crocus-ancyrensis")
  21. #set pisi-crocus-ancyrensis photos as default wallpapers
  22. # pisitools.dosed("%s/usr/share/plasma/look-and-feel/org.kde.breezedark.desktop/contents/defaults" % get.installDIR(), "Next", "pisi-crocus-ancyrensis")
  23. # pisitools.dosed("%s/usr/share/plasma/look-and-feel/org.kde.breezetwilight.desktop/contents/defaults" % get.installDIR(), "Next", "pisi-crocus-ancyrensis")
  24. pisitools.removeDir("/usr/lib/systemd")
  25. pisitools.dodoc("LICENSES/*")