1 # Maintainer: WU Jun <quark at lihdd dot net>
3 pkgname=ibus-sogoupycc-svn
6 pkgdesc="ibus-sogoupycc is a Sogou cloud client, a Chinese input method on ibus platform. This is its svn version."
8 url="http://ibus-sogoupycc.googlecode.com/"
10 depends=('ibus>=1.2.0'
11 'lua>=5.1' 'lua<=5.1.99'
16 makedepends=('subversion>=1.5' 'cmake>=2.6')
18 replaces=('ibus-sogoupycc')
19 conflicts=('ibus-sogoupycc')
20 source=(http://ibus-sogoupycc.googlecode.com/files/open-phrase-201003.tar.gz)
22 md5sums=('64c29758b2837ef0c70d823a3b31ec3e')
24 _svntrunk=$url/svn/trunk/linux
29 if [ -d $_svnmod/.svn ]; then
30 (cd $_svnmod && svn up)
32 svn co $_svntrunk $_svnmod
35 msg "SVN checkout done or server timeout"
36 msg "Starting make..."
39 ./build.sh || return 1
43 cd ${srcdir}/${_svnmod}/build
44 make DESTDIR=${pkgdir} install || return 1
45 mkdir $pkgdir/usr/share/ibus-sogoupycc/db/
46 install -Dm644 ${srcdir}/db/main.db \
47 ${pkgdir}/usr/share/ibus-sogoupycc/db/main.db