1 # Contributor: Lee.MaRS<leemars at gmail.com>
2 pkgname=ibus-table-wubi-git
5 pkgdesc="The Wubi Input Method of tables engines for IBus."
7 url="http://code.google.com/p/ibus/"
9 depends=('ibus-table=1.2.0')
10 provides=('ibus-table-wubi=1.2.0')
11 conflicts=('ibus-table-wubi')
12 makedepends=('git' 'cvs' 'ibus-table-extraphrase=1.2.0')
17 _gitroot="git://github.com/acevery/ibus-table-wubi.git"
18 _gitname="ibus-table-wubi"
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin master
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
41 ./autogen.sh --break-configure
42 ./configure --prefix=/usr --libexecdir=/usr/lib/ibus \
45 --enable-extra-phrases
47 make DESTDIR="$pkgdir/" install