libaccounts-qt5:first release

This commit is contained in:
alihanozturk
2015-10-20 23:19:25 +03:00
parent b3f55d5ee2
commit 32c7e6e532
2 changed files with 113 additions and 0 deletions
@@ -0,0 +1,23 @@
#!/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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("sed -i 's|SUBDIRS += Accounts tests|SUBDIRS += Accounts|' accounts-qt.pro")
shelltools.system("qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib")
def build():
autotools.make()
def install():
autotools.rawInstall("INSTALL_ROOT=%s" % get.installDIR())
pisitools.dodoc("NOTES", "INSTALL", "COPYING", "README.md", "TODO")