# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=pidgin-sipe pkgver=1.21.1 pkgrel=2 pkgdesc="Pidgin protocol plugin to connect to MS Office Communicator" url="http://sipe.sourceforge.net/" arch="all" license="GPLv2+" depends="" depends_dev="" makedepends="$depends_dev zlib-dev pidgin-dev e2fsprogs-dev intltool heimdal-dev libxml2-dev glib-dev nss-dev libnice-dev gstreamer0.10-dev gmime-dev" install="" subpackages="$pkgname-lang" source="http://downloads.sourceforge.net/project/sipe/sipe/pidgin-sipe-$pkgver/pidgin-sipe-$pkgver.tar.bz2" _builddir="$srcdir"/pidgin-sipe-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --enable-purple \ --disable-telepathy \ --without-vv \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="972ec2d222215d8028e842c21db709a6 pidgin-sipe-1.21.1.tar.bz2" sha256sums="15ee26138aad13f2bd6ec108ed86b5a2ea758d60db860990f95069a2104c7758 pidgin-sipe-1.21.1.tar.bz2" sha512sums="0e2dc253a71cd3bda019c5e9c480e9f1ca751a288886e1a364a194065338f574cf99c468c454f4a15fcff15e4e6f37e736cf842738a22f91b8be81ddde862fb8 pidgin-sipe-1.21.1.tar.bz2"