1 pkgname=libgooglepinyin-hg
4 pkgdesc="A fork from google pinyin on android"
6 url="http://code.google.com/p/libgooglepinyin"
8 makedepends=('mercurial' 'cmake')
9 provides=('libgooglepinyin=0.1.1')
10 conflicts=('libgooglepinyin')
12 _hgroot=https://libgooglepinyin.googlecode.com/hg/
13 _hgrepo=libgooglepinyin
18 msg "Starting make..."
20 rm -rf "$srcdir/$_hgrepo-build"
21 cp -rf "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
22 cd "$srcdir/$_hgrepo-build"
24 cmake -DCMAKE_INSTALL_PREFIX=/usr . \
26 make DESTDIR=${pkgdir} install