1 # Contributor: Jon Nordby <jononor@gmail.com>
2 # Maintainer: Jon Nordby <jononor@gmail.com>
4 _pkgname=maliit-framework
8 pkgdesc="Maliit Input Methods - Framework"
10 url="http://maliit.org"
13 install=${_pkgname}.install
19 _gitroot="git://gitorious.org/maliit/maliit-framework.git"
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
30 git clone $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
41 qmake -r . CONFIG+=notests
46 cd "$srcdir/$_gitname-build"
48 make install INSTALL_ROOT="$pkgdir/"