summaryrefslogtreecommitdiff
path: root/community/ibus-table
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-table
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/ibus-table')
-rw-r--r--community/ibus-table/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/ibus-table/PKGBUILD b/community/ibus-table/PKGBUILD
new file mode 100644
index 000000000..f60bfb58e
--- /dev/null
+++ b/community/ibus-table/PKGBUILD
@@ -0,0 +1,33 @@
+# Contributor: coderoar <coderoar@gmail.com>
+# Contributor: leemars <leemars@gmail.com>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=ibus-table
+pkgver=1.3.0.20100621
+pkgrel=4
+pkgdesc='The IM Engine framework for table-based input methods, such as ZhengMa, WuBi, ErBi, CangJie and so on.'
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/ibus/"
+license=('LGPL')
+depends=('python2-pyenchant' 'ibus' 'aspell-en')
+source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
+md5sums=('0fd5812197400f7b586480fca1a0c082')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ # python2 fix
+ find -type f -exec sed -i -e 's_exec python_exec python2_' -e 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' -e 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' {} \;
+
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/ibus
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+}