[arch-commits] Commit in ibus/trunk (PKGBUILD)

Felix Yan fyan at nymeria.archlinux.org
Sun Jan 5 03:03:40 UTC 2014


    Date: Sunday, January 5, 2014 @ 04:03:39
  Author: fyan
Revision: 203188

upgpkg: ibus 1.5.4-2

Modified:
  ibus/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++----------
 1 file changed, 27 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-05 02:32:17 UTC (rev 203187)
+++ PKGBUILD	2014-01-05 03:03:39 UTC (rev 203188)
@@ -1,21 +1,22 @@
 # $Id$
-# Maintainer:
+# Maintainer: Felix Yan <felixonmars at 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 @@
   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
+}




More information about the arch-commits mailing list