1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Contributor: Rainy <rainylau(at)gmail(dot)com>
3 # Contributor: Lee.MaRS <leemars at gmail dot com>
4 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
5 # Maintainer: TigerSoldier <tigersoldier@archlinux>
10 pkgdesc="Japanese input method Anthy IMEngine for IBus Framework"
11 arch=('i686' 'x86_64')
13 url="http://ibus.googlecode.com"
14 depends=('ibus' 'anthy' 'python2')
15 makedepends=('swig' 'intltool')
16 optdepends=('kasumi: manage directories')
18 conflicts=('ibus-anthy')
22 _gitroot="git://github.com/fujiwarat/ibus-anthy.git"
27 msg "Connecting to the GIT server...."
29 if [[ -d $srcdir/$_gitname ]] ; then
32 msg "The local files are updated."
37 msg "GIT checkout done"
38 msg "Starting make..."
40 cp -rf $srcdir/$_gitname $srcdir/$_gitname-build
41 cd $srcdir/$_gitname-build
44 for file in setup/ibus-setup-anthy.in engine/ibus-engine-anthy.in; do
45 sed -i 's_exec python_exec python2_' $file
48 ./autogen.sh --prefix=/usr --libexec=/usr/lib/ibus PYTHON=/usr/bin/python2
53 cd "${srcdir}/$_gitname-build"
54 make DESTDIR="${pkgdir}" install