Date: Saturday, February 4, 2012 @ 20:56:09 Author: eric Revision: 148643
upgpkg: fcitx 4.2.0-1 Upstream update, Add missing depends Modified: fcitx/trunk/PKGBUILD fcitx/trunk/fcitx.install ---------------+ PKGBUILD | 7 ++++--- fcitx.install | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-02-04 23:32:14 UTC (rev 148642) +++ PKGBUILD 2012-02-05 01:56:09 UTC (rev 148643) @@ -4,14 +4,14 @@ pkgbase=fcitx pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt') -pkgver=4.1.2 +pkgver=4.2.0 pkgrel=1 arch=('i686' 'x86_64') url="http://code.google.com/p/fcitx/" license=('GPL') makedepends=('cmake' 'intltool' 'doxygen' 'gtk2' 'gtk3' 'qt' 'dbus-glib' 'icu') source=("http://fcitx.googlecode.com/files/${pkgbase}-${pkgver}.tar.bz2") -sha1sums=('d2d4e725b1c2ed60543d466504954b631d5689e3') +sha1sums=('b3c09f1eda7fb71208d348c34389dc824d6b2a80') build() { cd "${srcdir}" @@ -28,7 +28,8 @@ package_fcitx() { pkgdesc="Free Chinese Input Toy of X - Input Method Server for X window system" - depends=('dbus-core' 'pango') + depends=('dbus-core' 'pango' 'libxinerama' 'gtk-update-icon-cache' \ + 'shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils') install=fcitx.install cd "${srcdir}"/build Modified: fcitx.install =================================================================== --- fcitx.install 2012-02-04 23:32:14 UTC (rev 148642) +++ fcitx.install 2012-02-05 01:56:09 UTC (rev 148643) @@ -1,6 +1,7 @@ post_install() { - [[ -x usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor || true - [[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null } post_upgrade() {