Advertisement
Guest User

ibus-anthy

a guest
Oct 16th, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. pkgname=ibus-anthy
  2. pkgver=1.4.99.20121006
  3. pkgrel=1
  4. pkgdesc="Japanese input method Anthy IMEngine for IBus Framework"
  5. arch=('i686' 'x86_64')
  6. license=('LGPL')
  7. url="http://ibus.googlecode.com"
  8. depends=('ibus' 'anthy' 'python2')
  9. makedepends=('swig' 'intltool')
  10. options=('!libtool')
  11. source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
  12. md5sums=('518aa503ce40054e0027f2a79c9df640')
  13.  
  14. build() {
  15. cd "${srcdir}/${pkgname}-${pkgver}"
  16. # python2 fix
  17. for file in setup/ibus-setup-anthy.in engine/ibus-engine-anthy.in; do
  18. sed -i 's_exec python_exec python2_' $file
  19. done
  20.  
  21. ./configure --prefix=/usr --libexec=/usr/lib/ibus
  22. make
  23. }
  24.  
  25. package() {
  26. cd "${srcdir}/${pkgname}-${pkgver}"
  27. make DESTDIR="${pkgdir}" install
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement