Date: Sunday, January 5, 2014 @ 04:04:36 Author: fyan Revision: 203189
archrelease: copy trunk to testing-i686, testing-x86_64 Added: ibus/repos/testing-i686/ ibus/repos/testing-i686/PKGBUILD (from rev 203188, ibus/trunk/PKGBUILD) ibus/repos/testing-i686/ibus.install (from rev 203188, ibus/trunk/ibus.install) ibus/repos/testing-x86_64/ ibus/repos/testing-x86_64/PKGBUILD (from rev 203188, ibus/trunk/PKGBUILD) ibus/repos/testing-x86_64/ibus.install (from rev 203188, ibus/trunk/ibus.install) -----------------------------+ testing-i686/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++ testing-i686/ibus.install | 16 ++++++++++++ testing-x86_64/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/ibus.install | 16 ++++++++++++ 4 files changed, 136 insertions(+) Copied: ibus/repos/testing-i686/PKGBUILD (from rev 203188, ibus/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-01-05 03:04:36 UTC (rev 203189) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> + +pkgbase=ibus +pkgname=(ibus libibus) +pkgver=1.5.4 +pkgrel=2 +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' '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 ${pkgbase}-${pkgver} + export PYTHON=python2 + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/ibus \ + --sysconfdir=/etc \ + --disable-gconf \ + --enable-dconf \ + --disable-memconf \ + --enable-ui \ + --enable-python-library + make +} + +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 +} Copied: ibus/repos/testing-i686/ibus.install (from rev 203188, ibus/trunk/ibus.install) =================================================================== --- testing-i686/ibus.install (rev 0) +++ testing-i686/ibus.install 2014-01-05 03:04:36 UTC (rev 203189) @@ -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 +} Copied: ibus/repos/testing-x86_64/PKGBUILD (from rev 203188, ibus/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-01-05 03:04:36 UTC (rev 203189) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> + +pkgbase=ibus +pkgname=(ibus libibus) +pkgver=1.5.4 +pkgrel=2 +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' '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 ${pkgbase}-${pkgver} + export PYTHON=python2 + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/ibus \ + --sysconfdir=/etc \ + --disable-gconf \ + --enable-dconf \ + --disable-memconf \ + --enable-ui \ + --enable-python-library + make +} + +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 +} Copied: ibus/repos/testing-x86_64/ibus.install (from rev 203188, ibus/trunk/ibus.install) =================================================================== --- testing-x86_64/ibus.install (rev 0) +++ testing-x86_64/ibus.install 2014-01-05 03:04:36 UTC (rev 203189) @@ -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 +}