diff options
Diffstat (limited to 'community/libgooglepinyin/PKGBUILD')
-rw-r--r-- | community/libgooglepinyin/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/libgooglepinyin/PKGBUILD b/community/libgooglepinyin/PKGBUILD new file mode 100644 index 000000000..bac38b86c --- /dev/null +++ b/community/libgooglepinyin/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Author: CSSlayer <wengxt@gmail.com> +# Contributor: Yangtse <yangtsesu@gmail.com> + +pkgname=libgooglepinyin +pkgver=0.1.2 +pkgrel=1 +pkgdesc="A fork from google pinyin on android" +arch=('i686' 'x86_64') +url="http://code.google.com/p/libgooglepinyin" +license=('APACHE') +depends=('gcc-libs') +makedepends=('cmake') +source=(http://libgooglepinyin.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2) + +build() { + cd "${srcdir}" + + msg "Starting make..." + + rm -rf "${srcdir}/build" + cp -rf "${srcdir}/${pkgname}-${pkgver}" "$srcdir/build" + cd "${srcdir}/build" + + cmake -DCMAKE_INSTALL_PREFIX=/usr . \ + -DENABLE_STATIC=Off +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install +} + +md5sums=('d697aba08fdc0fe15c9d7b6096ca3b28') |