# $Id: PKGBUILD 81110 2012-12-12 00:47:35Z eric $ # Maintainer: Felix Yan # Contributor: Rainy # Contributor: Lee.maRS # Contributor: Kerrick Staley # Contributor: Daniel J Griffiths pkgname=ibus-pinyin pkgver=1.4.99.20120808 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") 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 }