# Maintainer: Drew DeVault pkgname=ibus pkgver=1.5.21 pkgrel=0 pkgdesc="Next Generation Input Bus for Linux" url="https://github.com/ibus/ibus/wiki" arch="all" license="LGPL-2.1-or-later" depends=" dconf hicolor-icon-theme iso-codes dbus py-gobject3 " makedepends=" dconf-dev gtk+-dev gtk+3.0-dev libnotify-dev iso-codes-dev librsvg-dev gobject-introspection-dev vala intltool qt5-qtbase automake autoconf gnome-common gtk-doc wayland-dev wayland-protocols dbus-x11 unicode-character-database xz " subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source=" $pkgname-$pkgver.tar.gz::https://github.com/ibus/ibus/archive/$pkgver.tar.gz 0001-Use-more-portable-call-to-mktemp.patch " install="$pkgname.post-install" prepare() { default_prepare NOCONFIGURE=1 ./autogen.sh } build() { ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/ibus \ --sysconfdir=/etc \ --enable-dconf \ --enable-wayland \ --disable-memconf \ --enable-ui \ --disable-gtk-doc \ --disable-emoji-dict \ --with-ucd-dir=/usr/share/unicode/ make } check() { ./bus/ibus-daemon --version } package() { make DESTDIR="$pkgdir" install } sha512sums="39f5ffe0727af3254e060b82cc99a60126489271863272775e5b1d0e26f31d42d2f9a0cbfe1cb797854f2ae66d5b6c8cdf83bab800af8576b82250ec1e6fb33f ibus-1.5.21.tar.gz 1e2e62ce52becf75d794c403e8f21bb72e8406aacbdbc5189f62a3b7c54166c40da0032d3f3865f5a23d9d2c782f974b7bcc9ba5ce437d9eb435dd3db3ff0b06 0001-Use-more-portable-call-to-mktemp.patch"