updated on Mon Jan 23 04:00:55 UTC 2012
[aur-mirror.git] / ibus-no-key-snooper / PKGBUILD
blobe950651f95a2fa976d8cca741021168f32ed22cc
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: Auguste Pop <auguste(at)gmail(dot)com>
6 pkgname=ibus-no-key-snooper
7 pkgver=1.3.8
8 pkgrel=1
9 pkgdesc='Next Generation Input Bus for Linux.'
10 arch=('i686' 'x86_64')
11 license=('LGPL')
12 url='http://ibus.googlecode.com'
13 depends=('dbus-python>=0.83.0' 'gconf' 'python2' 'pygtk' 'pyxdg' 'iso-codes' \
14          'librsvg' 'python-notify' 'hicolor-icon-theme')
15 optdepends=('notification-daemon')
16 makedepends=('intltool')
17 options=('!libtool')
18 provides=('ibus')
19 conflicts=('ibus')
20 install=ibus.install
21 source=("http://ibus.googlecode.com/files/${pkgname%%-*}-${pkgver}.tar.gz")
22 md5sums=('6d345268e3496f2e6be3a6f3a3ba19ea')
24 build()
26     cd ${pkgname%%-*}-${pkgver}
28     ./configure \
29         --prefix=/usr \
30         --libexecdir=/usr/lib/ibus \
31         --sysconfdir=/etc \
32         --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
33         --disable-key-snooper \
34         --enable-introspection=no # disabled because build fails with 
35                                   # gobject-introspection 0.9.10-2
37     # python2 fix
38     for file in setup/ibus-setup.in ui/gtk/ibus-ui-gtk.in;
39     do
40         sed -i 's_exec python_exec python2_' $file
41     done
43     make
46 package()
48     cd ${pkgname%%-*}-${pkgver}
50     make DESTDIR=${pkgdir} install