updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / uim-alpha / PKGBUILD
blobabfeaea9b66f65eaa8efea62ba596622377189b7
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>
4 pkgname=uim-alpha
5 _pkgname=uim
6 pkgver=1.7.0
7 pkgrel=1
8 pkgdesc='Multilingual input method library'
9 arch=('i686' 'x86_64')
10 url='http://code.google.com/p/uim/'
11 license=('custom')
12 depends=('gtk2' 'gtk3' 'qt>=4' 'libxft' 'libedit' 'anthy' 'm17n-lib')
13 makedepends=('intltool' 'gettext')
14 provides=('uim')
15 conflicts=('uim')
16 #optdepends=('gnome-panel: gnome applet indicator')
17 options=('!libtool')
18 source=("http://uim.googlecode.com/files/${_pkgname}-${pkgver}-alpha.tar.bz2"
19         'home.patch')
20 sha1sums=('b1a5059efea5e4fa788d3db608eed87fb5c8228d'
21           'dbcf90f3ea246c5723d715e0935072baa9364cd2')
23 install=install
25 build() {
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 \
37                 --enable-pref \
38                 --without-scim \
39                 --with-gtk2 \
40                 --with-gtk3 \
41                 --with-qt4 \
42                 --with-qt4-immodule \
43                 --without-anthy \
44                 --with-anthy-utf8
45         #       --with-qt-immodule \
46         #       --with-qt \
47         make
50 package() {
51         cd "${srcdir}/${_pkgname}-${pkgver}-alpha"
52         make DESTDIR="${pkgdir}" install
53         install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"