1 # Contributor: Lyman Li <lymanrb@gmail.com>
3 pkgname=scim-sunpinyin-hg
6 pkgdesc="A SLM (Statistical Language Model) based pinyin IME"
8 url="http://www.opensolaris.org/os/project/input-method/"
9 license=('CDDL' 'LGPL')
10 provides=('scim-sunpinyin')
11 conflicts=('scim-sunpinyin')
12 makedepends=('autoconf' 'automake' 'gcc' 'mercurial' 'openssh')
22 msg "Checkout source code, could be slow ..."
23 if [[ -d ${_hgname} ]]; then
24 (cd ${_hgname} && hg update)
26 hg clone ssh://anon@hg.opensolaris.org/hg/nv-g11n/inputmethod
29 msg "Starting make ..."
30 cd ${_hgname}/sunpinyin/ime
31 ./autogen.sh --prefix=/usr \
34 --disable-debug || return 1
36 make DESTDIR=${pkgdir} install || return 1