Advertisement
Guest User

ibus

a guest
Oct 16th, 2012
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. pkgname=ibus
  2. pkgver=1.4.99.20121006
  3. pkgrel=1
  4. pkgdesc="Next Generation Input Bus for Linux"
  5. arch=('i686' 'x86_64')
  6. license=('LGPL')
  7. url="http://ibus.googlecode.com"
  8. depends=('python2' 'gconf' 'pygtk' 'gtk3' 'vala')
  9. makedepends=('')
  10. options=('!libtool')
  11. conflicts=('ibus')
  12. source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
  13. md5sums=('28b26c84f021a0c15023d6326d4ad58e')
  14.  
  15. build() {
  16. cd "${srcdir}/${pkgname}-${pkgver}"
  17. #python2 fix
  18. sed -i 's_exec python_exec python2_' setup/ibus-setup.in
  19.  
  20. ./configure \
  21. PYTHON=/usr/bin/python2 \
  22. --prefix=/usr \
  23. --libexecdir=/usr/lib/ibus \
  24. --sysconfdir=/etc \
  25. --enable-gtk3 \
  26. --enable-gtk2 \
  27. --enable-dconf \
  28. --with-gconf-schema-file-dir=/usr/share/gconf/schemas || return 1
  29.  
  30. make
  31. }
  32.  
  33. package() {
  34. cd "${srcdir}/${pkgname}-${pkgver}"
  35. make DESTDIR="${pkgdir}" install
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement