1 # Contributor: Jon Nordby <jononor@gmail.com>
2 # Maintainer: Jon Nordby <jononor@gmail.com>
4 _pkgname=meegotouch-inputmethodframework
8 pkgdesc="MeegoTouch Inputmethod Framework"
10 url="http://wiki.meego.com/Maliit"
13 depends=('qt' 'libmeegotouch')
16 install=meegotouch-inputmethodframework.install
20 _gitroot="git://gitorious.org/meegotouch/meegotouch-inputmethodframework.git"
25 msg "Connecting to GIT server...."
27 if [ -d $_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
31 git clone $_gitroot $_gitname
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "$srcdir/$_gitname-build"
38 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
42 # Note: libmeegotouch dep can be removed using CONFIG+=nomeegotouch
43 qmake CONFIG+=notests CONFIG+=noduicontrolpanel
48 cd "$srcdir/$_gitname-build"
50 make install INSTALL_ROOT="$pkgdir/"