summaryrefslogtreecommitdiff
path: root/pcr/libibus/PKGBUILD
blob: 1a934121ae9b196d89673046968b33e9219f5ccc (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
36
37
38
39
40
41
42
43
44
# $Id$
# Contributor: Felix Yan <felixonmars@gmail.com>
# Contributor: Rainy <rainylau(at)gmail(dot)com>
# Contributor: Lee.MaRS <leemars at gmail dot com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Maintainer : Parabola GNU / Linux-libre Aur�lien Desbri�res <aurelien@cwb.io>

_pkgbase=ibus
pkgname=lib$_pkgbase
pkgver=1.4.99.20121109
pkgrel=1
pkgdesc="Library for Next Generation Input Bus for Linux"
arch=('i686' 'x86_64')
url="http://ibus.googlecode.com"
license=('LGPL')
depends=('glib2')
makedepends=('gobject-introspection' 'dconf' 'iso-codes' 'intltool' 'gtk2' 'gtk3')
options=('!libtool')
provides=("$_pkgbase=$pkgver")
conflicts=('ibus')
source=(http://ibus.googlecode.com/files/${_pkgbase}-${pkgver}.tar.gz)

build() {
  cd "$srcdir/${_pkgbase}-${pkgver}"
  export PYTHON=python2
  ./configure \
    --prefix=/usr \
    --libexecdir=/usr/lib/ibus \
    --sysconfdir=/etc \
    --disable-gconf \
    --enable-dconf \
    --disable-memconf \
    --enable-ui
  make
}

package() {
  cd "$srcdir/${_pkgbase}-${pkgver}"
  make DESTDIR="${pkgdir}" install-pkgconfigDATA
  cd src
  make DESTDIR="${pkgdir}" install
}
md5sums=('be482479357210283e91a47f43a0a0fe')