# $Id: PKGBUILD 79511 2012-11-06 12:01:15Z arodseth $ # Maintainer: Felix Yan # Contributor: Rainy # Contributor: Lee.maRS # Contributor: Kerrick Staley # Contributor: Daniel J Griffiths pkgname=ibus-pinyin pkgver=1.4.99.20120808 pkgrel=1 pkgdesc='Pinyin (Chinese) input method for the IBus framework' arch=('i686' 'x86_64' 'mips64el') license=('GPL') url='http://ibus.googlecode.com' depends=('ibus' 'pyzy' 'lua') makedepends=('intltool') source=("https://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") sha1sums=('aa298212d9f63acab48cf9f6370c94cdc6920c2a') 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 }