1 #Contributor: poplarch <poplarch@gmail.com>
2 pkgname=fcitx-cloudpinyin-git
5 pkgdesc="This is a standalone module for fcitx, it can use pinyin API on the internet to input."
7 url="https://github.com/fcitx/fcitx-cloudpinyin"
10 makedepends=('git' 'cmake' 'intltool')
11 provides=(fcitx-cloudpinyin)
12 conflicts=('fcitx-cloudpinyin')
16 _gitroot="git://github.com/fcitx/fcitx-cloudpinyin.git"
17 _gitname="fcitx-cloudpinyin"
21 msg "Connecting to the GIT server...."
23 if [[ -d $srcdir/$_gitname ]] ; then
26 msg "The local files are updated."
31 msg "GIT checkout done"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone $srcdir/$_gitname $srcdir/$_gitname-build
36 cd "$srcdir/$_gitname-build"
38 cmake -DCMAKE_INSTALL_PREFIX=/usr .
39 make DESTDIR=${pkgdir} install