Files
main/desktop/toolkit/qt5/qt5-tools/actions.py
T
2015-07-06 19:12:49 +03:00

29 lines
799 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import qt5
from pisi.actionsapi import get
def setup():
qt5.configure()
def build():
qt5.make()
#qt5.make("docs")
def install():
qt5.install("INSTALL_ROOT=%s" % get.installDIR())
#qt5.install("install_docs")
#I hope qtchooser will manage this issue
for bin in shelltools.ls("%s/usr/lib/qt5/bin" % get.installDIR()):
pisitools.dosym("/usr/lib/qt5/bin/%s" % bin, "/usr/bin/%s-qt5" % bin)
pisitools.insinto("/usr/share/licenses/qt5-tools/", "LGPL_EXCEPTION.txt")