summaryrefslogtreecommitdiff
path: root/community/libgooglepinyin
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/libgooglepinyin
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/libgooglepinyin')
-rw-r--r--community/libgooglepinyin/PKGBUILD34
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')