actions.py 649 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 2.
  5. # See the file https://www.gnu.org/copyleft/gpl.txt.
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import get
  9. from pisi.actionsapi import qt5
  10. def setup():
  11. shelltools.system('qmake CONFIG+="configure WITH_I18N" \
  12. QMAKE_CFLAGS_ISYSTEM= \
  13. PREFIX=/usr \
  14. LIBPREFIX=/usr/lib \
  15. L_MANDIR=/usr/share/man \
  16. QT5LIBDIR=/usr/lib/qt5 \
  17. L_ETCDIR="/etc" \
  18. lumina.pro')
  19. def build():
  20. qt5.make()
  21. def install():
  22. qt5.install()
  23. pisitools.dodoc("LICENSE", "README*")