From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/ibus-anthy/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 community/ibus-anthy/PKGBUILD (limited to 'community/ibus-anthy/PKGBUILD') diff --git a/community/ibus-anthy/PKGBUILD b/community/ibus-anthy/PKGBUILD new file mode 100644 index 000000000..d5c01654d --- /dev/null +++ b/community/ibus-anthy/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 90641 2013-05-13 13:18:31Z fyan $ +# Maintainer: Felix Yan +# Contributor: Rainy +# Contributor: Lee.MaRS +# Contributor: Daniel J Griffiths + +pkgname=ibus-anthy +pkgver=1.5.3 +pkgrel=1 +pkgdesc='Japanese input method Anthy IMEngine for IBus Framework' +arch=('i686' 'x86_64') +license=('LGPL') +url='http://ibus.googlecode.com' +depends=('ibus' 'anthy' 'python2' 'pygtk' 'gtk-update-icon-cache') +makedepends=('swig' 'intltool') +options=('!libtool') +install=$pkgname.install +source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") + +build() { + cd $srcdir/$pkgname-$pkgver + + # python2 fix + for file in setup/ibus-setup-anthy.in engine/ibus-engine-anthy.in; do + sed -i 's_exec python_exec python2_' $file + done + + ./configure --prefix=/usr --libexec=/usr/lib/ibus + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir/ install +} + +sha512sums=('490a89ef78e31ad9e0f61aadd1d93b7a670852a765cc784cbfa307a208aab4344e851dceee316dd04bdf004e901a1b23bf40ff505e55fa18ab9dafdf097263d3') -- cgit v1.2.3-54-g00ecf