summaryrefslogtreecommitdiff
path: root/extra/ibus
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ibus')
-rw-r--r--extra/ibus/PKGBUILD39
1 files changed, 28 insertions, 11 deletions
diff --git a/extra/ibus/PKGBUILD b/extra/ibus/PKGBUILD
index c66b71e53..428acd0f5 100644
--- a/extra/ibus/PKGBUILD
+++ b/extra/ibus/PKGBUILD
@@ -1,21 +1,22 @@
-# $Id: PKGBUILD 198107 2013-10-30 12:49:58Z allan $
-# Maintainer:
+# $Id: PKGBUILD 203380 2014-01-09 06:32:23Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
-pkgname=ibus
+pkgbase=ibus
+pkgname=(ibus libibus)
pkgver=1.5.4
-pkgrel=1
+pkgrel=2
pkgdesc="Next Generation Input Bus for Linux"
arch=('i686' 'x86_64')
url="http://ibus.googlecode.com"
license=('LGPL')
-depends=('hicolor-icon-theme' 'gtk2' 'gtk3' 'python2-gobject' 'libnotify')
-makedepends=('gobject-introspection' 'vala' 'dconf' 'gconf' 'iso-codes' 'intltool')
-install=ibus.install
-source=(http://ibus.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
+depends=('dconf' 'gtk2' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'pygtk' 'python2-dbus')
+makedepends=('gobject-introspection' 'vala' 'gconf' 'iso-codes' 'intltool' 'python2-gobject')
+options=('!emptydirs')
+source=(http://ibus.googlecode.com/files/${pkgbase}-${pkgver}.tar.gz)
sha1sums=('2ce4b4d728a4685fd77360d0097b0e568f920c7b')
build() {
- cd ${pkgname}-${pkgver}
+ cd ${pkgbase}-${pkgver}
export PYTHON=python2
./configure \
--prefix=/usr \
@@ -29,7 +30,23 @@ build() {
make
}
-package() {
- cd ${pkgname}-${pkgver}
+package_ibus() {
+ depends+=("libibus=$pkgver")
+ install=ibus.install
+
+ cd ${pkgbase}-${pkgver}
make DESTDIR="${pkgdir}" install
+ make -C src DESTDIR="${pkgdir}" uninstall
+ make -C bindings DESTDIR="${pkgdir}" uninstall
+ make DESTDIR="${pkgdir}" uninstall-pkgconfigDATA
+}
+
+package_libibus() {
+ pkgdesc="IBus support library"
+ depends=('glib2')
+
+ cd ${pkgbase}-${pkgver}
+ make -C src DESTDIR="${pkgdir}" install
+ make -C bindings DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" install-pkgconfigDATA
}