1 # Made using uim-PKGBUILD (version 1.6.1-2) from extra repository as a template
2 # Maintainer of original uim-PKGBUILD: damir <damir@archlinux.org>
8 pkgdesc='Multilingual input method library'
10 url='http://code.google.com/p/uim/'
12 depends=('gtk2' 'gtk3' 'qt>=4' 'libxft' 'libedit' 'anthy' 'm17n-lib')
13 makedepends=('intltool' 'gettext')
16 #optdepends=('gnome-panel: gnome applet indicator')
18 source=("http://uim.googlecode.com/files/${_pkgname}-${pkgver}-alpha.tar.bz2"
20 sha1sums=('b1a5059efea5e4fa788d3db608eed87fb5c8228d'
21 'dbcf90f3ea246c5723d715e0935072baa9364cd2')
26 cd "${srcdir}/${_pkgname}-${pkgver}-alpha"
28 # UIM's Makefile needs to write in $HOME
29 patch -p0 < ../home.patch; export HOME="`pwd`"
31 ./configure --prefix=/usr --libexecdir=/usr/lib/uim \
32 --disable-gnome-applet \
33 --disable-gnome3-applet \
34 --enable-qt4-qt3support \
35 --disable-kde-applet \
36 --disable-kde4-applet \
45 # --with-qt-immodule \
51 cd "${srcdir}/${_pkgname}-${pkgver}-alpha"
52 make DESTDIR="${pkgdir}" install
53 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"