updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hime-git / PKGBUILD
blobe7d90672dae1e7ef041af0a835007ffa41cef56a
1 # $Id$
2 # Maintainer: taylorchu <tailinchu@gmail.com>
3 # arch PKGBUILD template
5 pkgname=hime-git
6 pkgver=next
7 pkgrel=1
8 pkgdesc='An universal input method platform (dev build)'
9 url='http://hime.luna.com.tw'
10 license=('LGPL')
11 arch=('i686' 'x86_64')
12 depends=('gtk2' 'libxtst')
13 makedepends=('qt' 'gtk3' 'anthy' 'libchewing')
14 optdepends=('qt: support for qt4 input method'
15             'gtk3: support for gtk3 input method'
16             'anthy: support for anthy input method'
17             'libchewing: support for chewing input method')
18 source=("https://github.com/taylorchu/hime/tarball/master"
19                 'qt4-lib64.patch')
21 install=install
23 build() {
24         dir="$(ls ${srcdir} | grep hime)"
25         cd "${srcdir}/${dir}"
26         patch -p1 -i ../qt4-lib64.patch
27         ./configure --prefix=/usr --qt4-moc-path=/usr/bin/moc
28         make
31 package() {
32         dir="$(ls ${srcdir} | grep hime)"
33         cd "${srcdir}/${dir}"
34         make DESTDIR="${pkgdir}" install