actions.py 607 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env 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 pisitools
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import qt6, get
  9. def setup():
  10. shelltools.system("qmake6-qt6 PREFIX=/usr LIBDIR=/usr/lib")
  11. # qt6.configure()
  12. def build():
  13. # shelltools.cd("build")
  14. shelltools.system("make")
  15. def install():
  16. # qt6.install()
  17. shelltools.system("make INSTALL_ROOT=%s install" % get.installDIR())
  18. pisitools.dodoc("COPYING", "TODO", "README*")