Date: Thursday, April 17, 2014 @ 13:03:16
  Author: fyan
Revision: 109647

upgpkg: ibus-pinyin 1.5.0-4

- revert to python 2.x (fuzzy settings doesn't work with python 3.x)
- add missing xdg dependency

Modified:
  ibus-pinyin/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-04-17 10:58:47 UTC (rev 109646)
+++ PKGBUILD    2014-04-17 11:03:16 UTC (rev 109647)
@@ -7,12 +7,12 @@
 
 pkgname=ibus-pinyin
 pkgver=1.5.0
-pkgrel=3
+pkgrel=4
 pkgdesc='Pinyin (Chinese) input method for the IBus framework'
 arch=('i686' 'x86_64')
 license=('GPL')
 url='http://ibus.googlecode.com'
-depends=('ibus' 'pyzy' 'lua51' 'python-xdg')
+depends=('ibus' 'pyzy' 'lua51' 'python2-xdg')
 makedepends=('intltool')
 source=("https://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz";)
 
@@ -19,7 +19,9 @@
 build() {
   cd ${pkgname}-${pkgver}
 
-  ./configure \
+  sed -i -e "s|python|python2|" setup/ibus-setup-pinyin.in
+
+  PYTHON=python2 ./configure \
     --prefix=/usr \
     --libexecdir=/usr/lib/ibus
 

Reply via email to