summaryrefslogtreecommitdiff
path: root/community/sunpinyin/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sunpinyin/PKGBUILD')
-rw-r--r--community/sunpinyin/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/sunpinyin/PKGBUILD b/community/sunpinyin/PKGBUILD
new file mode 100644
index 000000000..55c909ffe
--- /dev/null
+++ b/community/sunpinyin/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin
+pkgver=2.0.3
+pkgrel=1
+pkgdesc='SunPinYin is a Statistical Language Model based pinyin IME by Sun.'
+arch=('i686' 'x86_64')
+url='http://sunpinyin.googlecode.com'
+license=('LGPL')
+makedepends=('scons')
+source=("http://sunpinyin.googlecode.com/files/sunpinyin-${pkgver}.tar.gz")
+md5sums=('bc1cd4d7d48a73276dfe4c9f5a434cc7')
+
+build() {
+ cd sunpinyin-${pkgver}
+
+ scons \
+ --prefix=/usr
+}
+
+package() {
+ cd sunpinyin-${pkgver}
+
+ scons \
+ --prefix=/usr \
+ --install-sandbox=${pkgdir} \
+ install
+}