summaryrefslogtreecommitdiff
path: root/community/ibus-sunpinyin
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/ibus-sunpinyin
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/ibus-sunpinyin')
-rw-r--r--community/ibus-sunpinyin/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/ibus-sunpinyin/PKGBUILD b/community/ibus-sunpinyin/PKGBUILD
new file mode 100644
index 000000000..c41529cec
--- /dev/null
+++ b/community/ibus-sunpinyin/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 92623 2013-06-10 07:28:20Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=ibus-sunpinyin
+_pkgname=sunpinyin
+pkgver=2.0.3.20130307
+_commit=64e26d9ed1f617e59ff37c2efc0be97727c799a1
+pkgrel=1
+pkgdesc="IBus Wrapper for sunpinyin"
+arch=('i686' 'x86_64')
+url="http://sunpinyin.googlecode.com"
+license=('LGPL')
+depends=('sunpinyin>2.0.3' 'sunpinyin-data' 'ibus')
+makedepends=('git' 'scons')
+source=("git://github.com/sunpinyin/sunpinyin.git#commit=$_commit")
+md5sums=("SKIP")
+
+build() {
+ cd "$srcdir/$_pkgname/wrapper/ibus"
+ sed -i -e "s|python|python2|" setup/ibus-setup-sunpinyin.in
+
+ scons \
+ --prefix=/usr
+}
+
+package() {
+ cd "$srcdir/$_pkgname/wrapper/ibus"
+
+ scons \
+ --prefix=/usr \
+ --install-sandbox="$pkgdir" \
+ install
+}