1 pkgname=pidgin-msn-plus
5 pkgdesc="Pidgin patched version that include MSN plus and supports new plugins for MSN protocol"
7 url="http://pidgin.im/"
9 depends=('startup-notification' 'gtkspell' 'gstreamer0.10' 'libxss' 'nss' 'hicolor-icon-theme')
10 makedepends=('avahi' 'ca-certificates' 'perlxml' 'python' 'gettext' 'intltool')
11 optdepends=('avahi: Bonjour protocol support'
12 'tk: Tcl/Tk scripting support'
13 'ca-certificates: SSL CA certificates')
17 install=pidgin-msn.install
18 source=(http://heanet.dl.sourceforge.net/sourceforge/pidgin/pidgin-$pkgver.tar.bz2
19 http://developer.pidgin.im/raw-attachment/ticket/4598/bug4598-plus_colour-cleaned.patch
20 http://developer.pidgin.im/raw-attachment/ticket/4598/pidgin-plus-"$plusver"_new.tar.gz
21 http://developer.pidgin.im/raw-attachment/ticket/4598/bug4598-plus-long_closing_tags.patch)
25 cd "$srcdir/pidgin-$pkgver"
27 # patch pidgin with plus_colour-cleaned
28 patch -Np0 -i ../bug4598-plus_colour-cleaned.patch
30 # configure, make and install pidgin
31 ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-install --disable-meanwhile \
32 --disable-nm --disable-perl --disable-gnutls --disable-doxygen --disable-tcl --disable-tk \
33 --with-system-ssl-certs=/etc/ssl/certs || return 1
35 make DESTDIR="$pkgdir" install || return 1
37 # Remove GConf schema file
38 rm -rf "$pkgdir/etc" || return 1
40 # compiling plus plugin
42 cd $startdir/src/pidgin-plus-$plusver/plus
44 # patch pidgin with plus-long_closing_tags
45 patch -Np0 -i ../../bug4598-plus-long_closing_tags.patch
48 cd $startdir/src/pidgin-plus-$plusver
49 ./configure --prefix=/usr
52 make DESTDIR=$startdir/pkg install