1 # Contributor: Lee.MaRS<leemars at gmail.com>
2 pkgname=ibus-table-extraphrase-git
5 pkgdesc="The extra phrases of tables engines for IBus."
7 url="http://code.google.com/p/ibus/"
9 depends=('ibus-table=1.2.0')
10 provides=('ibus-table-extraphrase=1.2.0')
11 conflicts=('ibus-table-extraphrase')
12 makedepends=('git' 'cvs')
17 _gitroot="git://github.com/acevery/ibus-table-extraphrase.git"
18 _gitname="ibus-table-extraphrase"
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
44 make DESTDIR="$pkgdir/" install