# $Id: PKGBUILD 109717 2014-04-18 09:35:35Z fyan $ # Maintainer: Felix Yan # Contributor: Rainy # Contributor: Lee.maRS # Contributor: Kerrick Staley # Contributor: Daniel J Griffiths pkgname=ibus-pinyin pkgver=1.5.0 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' 'python2-xdg') makedepends=('intltool') source=("https://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") build() { cd ${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 ${pkgname}-${pkgver} make NO_INDEX=true DESTDIR="${pkgdir}" install } md5sums=('f7728b5b785fae58e2b4de8dfda45612')