1 # $Id: PKGBUILD 126832 2011-06-07 15:43:55Z foutrelis $
2 # Maintainer: Evangelos Foutras <foutrelis@gmail.com>
3 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 # Contributor: Alexander Fehr <pizzapunk gmail com>
6 # Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
7 # Contributor: Robin Kreis <robin.kreis@uni-bremen.de>
9 pkgname=('libpurple-devid')
12 arch=('i686' 'x86_64')
13 url="http://pidgin.im/"
15 makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'libsm'
16 'python2' 'hicolor-icon-theme' 'silc-toolkit' 'gstreamer0.10'
17 'farsight2' 'avahi' 'tk' 'ca-certificates' 'intltool'
20 source=(http://downloads.sourceforge.net/pidgin/pidgin-$pkgver.tar.bz2
23 md5sums=('d1656c443a5d91f4aa0d95915f1f50c3'
24 'a673659d86c7a65aa710f7c8c7feda82'
25 '15805528f4199ea76e10475881e55a21')
28 cd "$srcdir/pidgin-$pkgver"
30 # Further fixes for NetworkManager 0.9
31 # (http://developer.pidgin.im/ticket/13859)
32 patch -Np1 -i "$srcdir/nm09-more.patch"
33 patch -Np1 -i "$srcdir/icq-devid.patch"
36 sed -i 's/env python$/\02/' */plugins/*.py \
37 libpurple/purple-{remote,notifications-example,url-handler}
42 --disable-schemas-install \
48 --with-python=/usr/bin/python2 \
49 --with-system-ssl-certs=/etc/ssl/certs
53 package_libpurple-devid(){
54 pkgdesc="IM library extracted from Pidgin with DevID patch to fix ICQ"
55 provides=('libpurple=2.8.0-1')
56 conflicts=('libpurple')
57 depends=('farsight2' 'libsasl' 'dbus-glib' 'silc-toolkit' 'nss'
59 optdepends=('avahi: Bonjour protocol support'
60 'dbus-python: for purple-remote and purple-url-handler')
62 cd "$srcdir/pidgin-$pkgver"
64 for _dir in libpurple share/sounds share/ca-certs m4macros po; do
65 make -C "$_dir" DESTDIR="$pkgdir" install
69 # vim:set ts=2 sw=2 et: