1 # Contributor: Rainy <rainylau(at)gmail(dot)com>
2 # Contributor: Lee.MaRS <leemars at gmail dot com>
3 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
4 # Maintainer: Brad Fanella <bradfanella@archlinux.us>
10 # pkgdesc='Next Generation Input Bus for Linux.'
11 arch=('i686' 'x86_64')
13 url='http://ibus.googlecode.com'
14 # depends=('dbus-python>=0.84.0' 'gconf' 'dconf' 'python2' 'pygtk' 'pyxdg' 'iso-codes' 'librsvg' 'python-notify' 'hicolor-icon-theme' 'gtk3')
15 # optdepends=('notification-daemon')
16 makedepends=('intltool')
18 # install=ibus.install
19 source=("http://ibus.googlecode.com/files/${_pkgname}-${pkgver}.tar.gz"
20 00_2011.11.20.0.git23abee8.patch
21 00_2011.11.29.0.issue5431086_1.patch
22 00_2011.11.29.1.issue5437062_4001.patch)
23 md5sums=('b4f063794e89c71eb1f8cb543210da30'
24 'e38c4644bd55e823222d8c9edb784af5'
25 'e5d841598c765651fc104c91320b4564'
26 '36ca00d507f8b1df3702ba8824a53ab1')
29 cd ${_pkgname}-${pkgver}
33 patch -Np1 -i "${srcdir}/00_2011.11.20.0.git23abee8.patch"
34 patch -Np1 -i "${srcdir}/00_2011.11.29.0.issue5431086_1.patch"
35 patch -Np1 -i "${srcdir}/00_2011.11.29.1.issue5437062_4001.patch"
39 --libexecdir=/usr/lib/ibus \
41 --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
45 for file in setup/ibus-setup.in ui/gtk/ibus-ui-gtk.in; do
46 sed -i 's_exec python_exec python2_' $file
52 package_ibus-3beol() {
53 pkgdesc='Next Generation Input Bus for Linux.'
54 depends=('dbus-python>=0.84.0' 'gconf' 'dconf' 'python2' 'pygtk' 'pyxdg' 'iso-codes' 'librsvg' 'python-notify' 'hicolor-icon-theme' 'gtk3')
58 optdepends=('notification-daemon')
59 cd ${_pkgname}-${pkgver}
63 make DESTDIR=${pkgdir} install
65 find ${pkgdir} -type f -exec sed -i 's_exec /usr/bin/python_exec /usr/bin/python2_' {} \;