updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / hime / PKGBUILD
blob51c1e198073037674f20ece1011272195a01f2ab
1 # $Id$
2 # Maintainer: taylorchu <tailinchu@gmail.com>
3 # arch PKGBUILD template
5 pkgname=hime
6 pkgver=next
7 pkgrel=1
8 pkgdesc='An universal input method platform'
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/caleb-/hime/tarball/master"
19                 'qt4-lib64.patch')
21 install=install
23 build() {
24         dir="$(ls ${srcdir} | grep ${pkgname})"
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 ${pkgname})"
33         cd "${srcdir}/${dir}"
34         make DESTDIR="${pkgdir}" install