actions.py 561 B

1234567891011121314151617181920212223
  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. def setup():
  10. pisitools.dosed('kde-modules/KDEInstallDirs.cmake', '"lib64"', '"lib"')
  11. kde5.configure("-DBUILD_HTML_DOCS=OFF \
  12. -DBUILD_MAN_DOCS=OFF")
  13. def build():
  14. kde5.make()
  15. def install():
  16. kde5.install()
  17. pisitools.dodoc("README.rst", "COPYING-CMAKE-SCRIPTS")