actions.py 890 B

12345678910111213141516171819202122232425262728
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/copyleft/gpl.txt
  5. from pisi.actionsapi import qt5
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import get
  10. def setup():
  11. qt5.configure(parameters="USE_WEBGL=true \
  12. QUPZILLA_PREFIX=/usr/ \
  13. DISABLE_UPDATES_CHECK=true \
  14. GNOME_INTEGRATION=true \
  15. KDE_INTEGRATION=true ")
  16. def build():
  17. qt5.make()
  18. def install():
  19. qt5.install("INSTALL_ROOT=%s" % get.installDIR())
  20. #zsh
  21. pisitools.insinto("/usr/share/zsh/site-functions", "linux/completion/*")
  22. pisitools.dodoc("AUTHORS", "BUILDING*", "CHANGELOG", "COPYRIGHT", "FAQ", "README*")