1 #Contributor: poplarch <poplarch@gmail.com>
5 pkgdesc="KDE Config Module for Fcitx"
7 url="https://github.com/fcitx/kcm-fcitx"
10 makedepends=('git' 'cmake' 'intltool')
12 conflicts=('kcm-fcitx')
16 _gitroot="git://github.com/fcitx/kcm-fcitx.git"
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