actions.py 587 B

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