updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / scim-bridge / PKGBUILD
blobfdced8d1d7d782d2955b609e80a1b521a98d2dfe
1 # Contributor: Leigh <leighallison at earthlink.net>
3 pkgname=scim-bridge
4 pkgver=0.4.16
5 pkgrel=1
6 pkgdesc="scim-bridge IM-client for SCIM"
7 arch=('i686' 'x86_64')
8 url="http://www.scim-im.org/projects/scim_bridge"
9 license=('GPL' 'LGPL')
10 depends=('scim')
11 makedepends=('doxygen' 'qt')
12 source=(http://downloads.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz
13         configure-fix.patch
14         agent.patch)
15 md5sums=('0011b178c4a0d2b0de26e7a14545323c'
16          '7643c62b5331b70ebeeb4c780b2df9bc'
17          '822ac86deca3f0cca03571081b539b78')
18 build() {
19   cd "$startdir/src/$pkgname-$pkgver"
20   patch -p0 < "$startdir/configure-fix.patch"
21   patch -p0 < "$startdir/agent.patch"
22   sed -i -e 's|/plugins|/lib/qt/plugins|g' client-qt/qt4/Makefile.{in,am} || return 1
23   ./configure --prefix=/usr \
24               --enable-agent \
25               --enable-qt4-immodule \
26               --disable-qt3-immodule \
27               --enable-gtk2-immodule
28   make || return 1
29   make DESTDIR="$startdir/pkg" install