summaryrefslogtreecommitdiff
path: root/extra/ibus
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-31 01:35:35 -0700
committerroot <root@rshg054.dnsready.net>2012-10-31 01:35:35 -0700
commit5827948456201df72a1bd73e87977c569129fb27 (patch)
tree4842639ddc958690e68f74c496ea60844200450b /extra/ibus
parent455295fdb5009a8cd7b033a93e01f7450fd3087b (diff)
Wed Oct 31 01:34:59 PDT 2012
Diffstat (limited to 'extra/ibus')
-rw-r--r--extra/ibus/PKGBUILD38
-rw-r--r--extra/ibus/ibus.install17
2 files changed, 55 insertions, 0 deletions
diff --git a/extra/ibus/PKGBUILD b/extra/ibus/PKGBUILD
new file mode 100644
index 000000000..abd57f3a5
--- /dev/null
+++ b/extra/ibus/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 169944 2012-10-30 22:46:15Z heftig $
+# Contributor: Rainy <rainylau(at)gmail(dot)com>
+# Contributor: Lee.MaRS <leemars at gmail dot com>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+# Maintainer: Brad Fanella <bradfanella@archlinux.us>
+
+pkgname=ibus
+pkgver=1.4.99.20121006
+pkgrel=1
+pkgdesc="Next Generation Input Bus for Linux"
+arch=('i686' 'x86_64')
+url="http://ibus.googlecode.com"
+license=('LGPL')
+makedepends=('gobject-introspection' 'dconf' 'iso-codes' 'intltool')
+depends=('hicolor-icon-theme' 'gtk2' 'gtk3' 'python2-xdg' 'python2-gobject')
+options=('!libtool')
+install=ibus.install
+source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('e324382caa8dde8e4ea9c3d60a6ec5c96a313a86')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ export PYTHON=python2
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/ibus \
+ --sysconfdir=/etc \
+ --disable-gconf \
+ --enable-dconf \
+ --disable-memconf \
+ --enable-ui
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/extra/ibus/ibus.install b/extra/ibus/ibus.install
new file mode 100644
index 000000000..e4e446693
--- /dev/null
+++ b/extra/ibus/ibus.install
@@ -0,0 +1,17 @@
+post_install() {
+ gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
+ gtk-query-immodules-3.0 --update-cache
+
+ gtk-update-icon-cache -fq -t usr/share/icons/hicolor
+
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+post_remove() {
+ gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
+ gtk-query-immodules-3.0 --update-cache
+
+ gtk-update-icon-cache -fq -t usr/share/icons/hicolor
+
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}