actions.py 628 B

1234567891011121314151617181920212223242526
  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
  9. from pisi.actionsapi import get
  10. def setup():
  11. qt6.configure()
  12. def build():
  13. qt6.make()
  14. def install():
  15. qt6.install()
  16. #I hope qtchooser will manage this issue
  17. for bin in shelltools.ls("%s/usr/lib/qt6/bin" % get.installDIR()):
  18. pisitools.dosym("/usr/lib/qt6/bin/%s" % bin, "/usr/bin/%s-qt6" % bin)
  19. pisitools.dodoc("LICENSES/*")