summaryrefslogtreecommitdiff
path: root/community/ibus-qt/PKGBUILD
blob: aed97d135d82f85482746e6cfcf5af723f6f3c53 (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 80239 2012-11-18 10:30:25Z andrea $
# 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=6
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>=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')