# $Id: PKGBUILD 81402 2012-12-19 16:41:48Z fyan $ # Maintainer: Felix Yan # Contributor: Rainy # Contributor: Lee.maRS # Contributor: Kerrick Staley # Contributor: Daniel J Griffiths pkgname=ibus-pinyin pkgver=1.5.0 pkgrel=2 pkgdesc='Pinyin (Chinese) input method for the IBus framework' arch=('i686' 'x86_64') license=('GPL') url='http://ibus.googlecode.com' depends=('ibus' 'pyzy' 'lua51') makedepends=('intltool') source=("https://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") build() { cd "${srcdir}/${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 "${srcdir}/${pkgname}-${pkgver}" make NO_INDEX=true DESTDIR="${pkgdir}" install } md5sums=('f7728b5b785fae58e2b4de8dfda45612')