update fcitx-gtk install script against new gtk2

This commit is contained in:
Weng Xuetian 2014-05-08 04:42:33 +00:00
parent fccd061a90
commit f6a3cf9643
2 changed files with 3 additions and 5 deletions

View File

@ -3,12 +3,12 @@
pkgbase=fcitx-gtk
pkgname=('fcitx-gtk2' 'fcitx-gtk3')
pkgver=4.2.7
pkgrel=2
pkgrel=3
pkgdesc="Gtk im module for fcitx"
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx/"
license=('GPL')
makedepends=('fcitx>=4.2.7' 'gtk2' 'gtk3' 'cmake')
makedepends=('fcitx>=4.2.7' 'gtk2>=2.24.22' 'gtk3' 'cmake')
source=(http://fcitx.googlecode.com/files/${pkgbase}-${pkgver}.tar.xz)
md5sums=('c178aeca39bd2e24a907d4540503595d')

View File

@ -1,7 +1,5 @@
post_install() {
if res="$(usr/bin/gtk-query-immodules-2.0)"; then
echo "$res" > etc/gtk-2.0/gtk.immodules
fi
/usr/bin/gtk-query-immodules-2.0 --update-cache
}
post_upgrade() {