[arch-commits] Commit in ibus/repos (3 files)

Felix Yan fyan at nymeria.archlinux.org
Wed Mar 12 02:48:45 UTC 2014


    Date: Wednesday, March 12, 2014 @ 03:48:45
  Author: fyan
Revision: 207524

archrelease: copy trunk to testing-x86_64

Added:
  ibus/repos/testing-x86_64/
  ibus/repos/testing-x86_64/PKGBUILD
    (from rev 207523, ibus/trunk/PKGBUILD)
  ibus/repos/testing-x86_64/ibus.install
    (from rev 207523, ibus/trunk/ibus.install)

--------------+
 PKGBUILD     |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ibus.install |   16 ++++++++++++++++
 2 files changed, 71 insertions(+)

Copied: ibus/repos/testing-x86_64/PKGBUILD (from rev 207523, ibus/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-03-12 02:48:45 UTC (rev 207524)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgbase=ibus
+pkgname=(ibus libibus)
+pkgver=1.5.6
+pkgrel=1
+pkgdesc="Next Generation Input Bus for Linux"
+arch=('i686' 'x86_64')
+url="http://ibus.googlecode.com"
+license=('LGPL')
+depends=('dconf' 'gtk2' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'python-dbus' 'python-gobject' 'iso-codes')
+makedepends=('gobject-introspection' 'vala' 'intltool' 'git' 'gnome-common' 'gtk-doc' 'gconf')
+options=('!emptydirs')
+source=("git+https://github.com/ibus/ibus.git#tag=$pkgver")
+
+build() {
+  cd ${pkgbase}
+  ./autogen.sh \
+    --prefix=/usr \
+    --libexecdir=/usr/lib/ibus \
+    --sysconfdir=/etc \
+    --disable-gconf \
+    --enable-dconf \
+    --enable-wayland \
+    --enable-gtk-doc \
+    --disable-memconf \
+    --enable-ui \
+    --enable-python-library \
+    --with-python=python3
+  make
+}
+
+package_ibus() {
+  depends+=("libibus=$pkgver")
+  install=ibus.install
+
+  cd ${pkgbase}
+  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}
+  make -C src DESTDIR="${pkgdir}" install
+  make -C bindings DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" install-pkgconfigDATA
+}
+
+sha512sums=('SKIP')

Copied: ibus/repos/testing-x86_64/ibus.install (from rev 207523, ibus/trunk/ibus.install)
===================================================================
--- testing-x86_64/ibus.install	                        (rev 0)
+++ testing-x86_64/ibus.install	2014-03-12 02:48:45 UTC (rev 207524)
@@ -0,0 +1,16 @@
+post_install() {
+  gtk-query-immodules-2.0 --update-cache
+  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_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list