summaryrefslogtreecommitdiff
path: root/community/ibus-qt/PKGBUILD
blob: 51d3beb3de15746f405c8e30c7619b3384a5e4ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 48593 2011-06-03 07:34:58Z andrea $
# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Contributor: garion < garion @ mailoo.org >
# Contributor: leemars

pkgname=ibus-qt
pkgver=1.3.1
pkgrel=3
pkgdesc='IBus qt library and IBus qt input method plugin'
arch=('i686' 'x86_64')
license=('LGPL')
url='http://ibus.googlecode.com'
depends=('qt' 'ibus' 'icu')
makedepends=('cmake' 'automoc4' 'doxygen')
source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz")
md5sums=('769e8872ca8a59327b2073ce2f142589')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  
  cmake ../${pkgname}-${pkgver}-Source \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}"/build
  make DESTDIR="${pkgdir}" install
}