summaryrefslogtreecommitdiff
path: root/community/ibus-anthy
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/ibus-anthy
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/ibus-anthy')
-rw-r--r--community/ibus-anthy/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/ibus-anthy/PKGBUILD b/community/ibus-anthy/PKGBUILD
new file mode 100644
index 000000000..c907d99fd
--- /dev/null
+++ b/community/ibus-anthy/PKGBUILD
@@ -0,0 +1,38 @@
+# Contributor: Rainy <rainylau(at)gmail(dot)com>
+# Contributor: Lee.MaRS <leemars at gmail dot com>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=ibus-anthy
+pkgver=1.2.5
+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')
+makedepends=('swig' 'intltool')
+provides=('ibus-anthy')
+options=('!libtool')
+source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+md5sums=('00b44c874616d797a0117d087cf33341')
+
+build() {
+ cd ${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 ${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+}