1 #Contributor: poplarch <poplarch@gmail.com>
2 pkgname=fcitx-keyboard-git
5 pkgdesc="X Keyboard Integration wtih Fcitx."
7 url="https://github.com/fcitx/fcitx-keyboard"
10 makedepends=('git' 'cmake' 'intltool')
11 provides=(fcitx-keyboard)
12 conflicts=('fcitx-keyboard')
16 _gitroot="git://github.com/fcitx/fcitx-keyboard.git"
17 _gitname="fcitx-keyboard"
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