summaryrefslogtreecommitdiff
path: root/community/ibus-pinyin
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-pinyin
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/ibus-pinyin')
-rw-r--r--community/ibus-pinyin/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/ibus-pinyin/PKGBUILD b/community/ibus-pinyin/PKGBUILD
new file mode 100644
index 000000000..25146a8e3
--- /dev/null
+++ b/community/ibus-pinyin/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 81402 2012-12-19 16:41:48Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: Rainy <rainylau(at)gmail(dot)com>
+# Contributor: Lee.maRS<leemars at gmail.com>
+# Contributor: Kerrick Staley <mail at kerrickstaley.com>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=ibus-pinyin
+pkgver=1.5.0
+pkgrel=2
+pkgdesc='Pinyin (Chinese) input method for the IBus framework'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://ibus.googlecode.com'
+depends=('ibus' 'pyzy' 'lua51')
+makedepends=('intltool')
+source=("https://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ sed -i -e "s|python|python2|" setup/ibus-setup-pinyin.in
+
+ PYTHON=python2 ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/ibus
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make NO_INDEX=true DESTDIR="${pkgdir}" install
+}
+md5sums=('f7728b5b785fae58e2b4de8dfda45612')