summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Yan2014-04-17 11:03:16 +0000
committerFelix Yan2014-04-17 11:03:16 +0000
commitea8e6ced014e7ff315443e64f1be67fae58a01c3 (patch)
treea024b49f3544cdb84a07681183026d65eff008aa
parentd66b475f8b1274457fff6026ebebe434e937b82a (diff)
downloadaur-ea8e6ced014e7ff315443e64f1be67fae58a01c3.tar.gz
revert to python 2.x (fuzzy settings doesn't work with python 3.x)
- add missing xdg dependency
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dc9384bb43d7..385c004cb7f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,19 +6,21 @@
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")
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