actions.py 707 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 get
  7. from pisi.actionsapi import kde5
  8. from pisi.actionsapi import pisitools
  9. def setup():
  10. kde5.configure("-DBUILD_TESTING=OFF \
  11. -DBUILD_UNMAINTAINED=ON \
  12. -DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON \
  13. -DKDE_INSTALL_LIBDIR=lib \
  14. -DCMAKE_BUILD_TYPE=Release \
  15. -DCMAKE_INSTALL_PREFIX=/usr")
  16. def build():
  17. kde5.make()
  18. def install():
  19. kde5.install("DESTDIR=%s" % get.installDIR())
  20. pisitools.dodoc("COPYING*", "README.md")