1 # Maintainer: lh <jarryson AT gmail com>
6 pkgdesc="Free Chinese Input Toy of X - Input Method Server for X window system (XIM)"
9 url="http://code.google.com/p/fcitx"
10 depends=('pango' 'gtk2' 'qt' 'gtk3')
11 makedepends=('mercurial' 'python2' 'intltool' 'cmake')
12 conflicts=('fcitx' 'fcitx-utf8-svn' 'fcitx-svn')
14 provides=("fcitx=4.1.2")
15 install=("$pkgname.install")
18 _hgroot="http://fcitx.googlecode.com/hg"
22 hg revert --all --no-backup
26 msg "Creating make environment..."
28 rm -rf $srcdir/$_hgrepo-build
29 mkdir -p $srcdir/$_hgrepo-build
31 msg "Starting make..."
32 cd $srcdir/$_hgrepo-build
33 cmake ../$_hgrepo -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
34 -DENABLE_QT_IM_MODULE=On \
35 -DENABLE_GTK2_IM_MODULE=On \
36 -DENABLE_GTK3_IM_MODULE=On
41 cd $srcdir/$_hgrepo-build
42 make DESTDIR=$pkgdir install