1 # Contributor: Feng Wang <wanng.fenng@gmail.com>
3 pkgname=scim-googlepinyin
6 pkgdesc="bring the open source Google pinyin IME for Android to GNU/Linux."
8 url="http://code.google.com/p/scim-googlepinyin/"
9 license=('Apache License 2.0')
10 depends=( 'scim' 'gtk2' 'glib2' )
12 #install=( 'scim-googlepinyin.install' )
16 _gitroot="git://github.com/tchaikov/scim-googlepinyin.git"
17 _gitname="scim-googlepinyin"
22 msg "Connecting to $_gitroot..."
23 if [ -d $_gitname ]; then
24 cd $_gitname && git pull origin && cd ..
29 rm -rf $_gitname-build
30 git clone $_gitname $_gitname-build
33 ./autogen.sh || return 1
36 make DESTDIR="$pkgdir" install || return 1