summaryrefslogtreecommitdiff
path: root/community/ibus-pinyin/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ibus-pinyin/PKGBUILD')
-rw-r--r--community/ibus-pinyin/PKGBUILD32
1 files changed, 13 insertions, 19 deletions
diff --git a/community/ibus-pinyin/PKGBUILD b/community/ibus-pinyin/PKGBUILD
index a77ac1da0..cdca22018 100644
--- a/community/ibus-pinyin/PKGBUILD
+++ b/community/ibus-pinyin/PKGBUILD
@@ -1,36 +1,30 @@
-# $Id: PKGBUILD 79171 2012-10-31 05:59:19Z ebelanger $
+# $Id: PKGBUILD 79511 2012-11-06 12:01:15Z arodseth $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Rainy <rainylau(at)gmail(dot)com>
# Contributor: Lee.maRS<leemars at gmail.com>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Kerrick Staley <mail at kerrickstaley.com>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=ibus-pinyin
-pkgver=1.4.0
-pkgrel=2
-pkgdesc='The PinYin Engine for IBus Input Framework.'
+pkgver=1.4.99.20120808
+pkgrel=1
+pkgdesc='Pinyin (Chinese) input method for the IBus framework'
arch=('i686' 'x86_64')
-license=('LGPL')
+license=('GPL')
url='http://ibus.googlecode.com'
-depends=('ibus')
+depends=('ibus' 'pyzy' 'lua')
makedepends=('intltool')
-install=ibus-pinyin.install
-source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
- "http://ibus.googlecode.com/files/pinyin-database-1.2.99.tar.bz2")
-sha1sums=('499ceb4d3bec5614f88322b8e7695c04586b63e9'
- 'e38a148a772e9909facda66b2d579e17b94cccbe')
+source=("https://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('aa298212d9f63acab48cf9f6370c94cdc6920c2a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ln -sf "${srcdir}/pinyin-database-1.2.99.tar.bz2" \
- "${srcdir}/${pkgname}-${pkgver}/data/db/open-phrase"
-
- sed -i -e "s|python|python2|" data/db/android/create_db.py \
- setup/ibus-setup-pinyin.in
+ sed -i -e "s|python|python2|" setup/ibus-setup-pinyin.in
PYTHON=python2 ./configure \
--prefix=/usr \
- --libexecdir=/usr/lib/ibus \
- --enable-db-open-phrase
+ --libexecdir=/usr/lib/ibus
make
}