1 # Contributor: MaJia321 <majia321@gmail.com>
6 pkgdesc="It includes ibus qt library and ibus qt input method plugin"
8 url="http://ibus.googlecode.com/"
10 depends=('ibus=1.2.0')
11 makedepends=('cmake' 'qt>=4.5' 'icu' 'pkgconfig' 'git')
12 provides=('ibus-qt=1.2.0')
14 install=('ibus-qt.install')
17 _gitroot="git://github.com/phuang/ibus-qt.git"
21 msg "Connecting to ibus-qt GIT server...."
23 if [ -d ${srcdir}/$_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 git clone $_gitname $_gitname-build
34 cd ${srcdir}/$_gitname-build
36 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Wall" || return 1
37 make VERBOSE=1 || return 1
38 make DESTDIR=${pkgdir} install