[arch-commits] Commit in ibus-pinyin/trunk (PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Thu Apr 17 05:54:07 UTC 2014


    Date: Thursday, April 17, 2014 @ 07:54:07
  Author: fyan
Revision: 109618

upgpkg: ibus-pinyin 1.5.0-3

- use python3 instead of python2

Modified:
  ibus-pinyin/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-16 19:42:42 UTC (rev 109617)
+++ PKGBUILD	2014-04-17 05:54:07 UTC (rev 109618)
@@ -7,21 +7,19 @@
 
 pkgname=ibus-pinyin
 pkgver=1.5.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Pinyin (Chinese) input method for the IBus framework'
 arch=('i686' 'x86_64')
 license=('GPL')
 url='http://ibus.googlecode.com'
-depends=('ibus' 'pyzy' 'lua51')
+depends=('ibus' 'pyzy' 'lua51' 'python-xdg')
 makedepends=('intltool')
 source=("https://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
 
-  sed -i -e "s|python|python2|" setup/ibus-setup-pinyin.in
-
-  PYTHON=python2 ./configure \
+  ./configure \
     --prefix=/usr \
     --libexecdir=/usr/lib/ibus
 
@@ -29,8 +27,9 @@
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
 
   make NO_INDEX=true DESTDIR="${pkgdir}" install
 }
+
 md5sums=('f7728b5b785fae58e2b4de8dfda45612')




More information about the arch-commits mailing list