summaryrefslogtreecommitdiff
path: root/community/ibus-qt/PKGBUILD
blob: 3a573ba6af1e6337929eef1ecc6e76624e23ad17 (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
32
33
34
35
# $Id: PKGBUILD 82685 2013-01-23 00:15:54Z eric $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: garion < garion @ mailoo.org >
# Contributor: leemars

pkgname=ibus-qt
pkgver=1.3.1
pkgrel=7
pkgdesc='IBus qt library and IBus qt input method plugin'
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url='http://ibus.googlecode.com'
depends=('qt' 'ibus' 'icu>=50')
makedepends=('cmake' 'automoc4' 'doxygen')
source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz"
	0001-Do-not-crash-on-missing-invalid-DISPLAY-envvar.patch)

build() {
  cd "${srcdir}/${pkgname}-${pkgver}-Source"
  patch -p1 -i ../0001-Do-not-crash-on-missing-invalid-DISPLAY-envvar.patch

  mkdir build
  cd build
  
  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}-Source/build"
  make DESTDIR="${pkgdir}" install
}
md5sums=('769e8872ca8a59327b2073ce2f142589'
         'c30f52b1a9018132e5ecd0c14616cb65')