updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pidgin-msn-plus / PKGBUILD~
blob5d3ca4d5adc51e734d773541daa881a5a1c5c784
1 pkgname=pidgin-msn-plus
2 pkgver=2.5.8
3 plusver=0.0.2
4 pkgrel=1
5 pkgdesc="Pidgin patched version that include MSN plus and supports new plugins for MSN protocol"
6 arch=('i686' 'x86_64')
7 url="http://pidgin.im/"
8 license=('GPL')
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')
14 provides=('pidgin')
15 options=('!libtool')
16 conflicts=('pidgin')
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)
23 build() {
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
34   make || 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
51   make || return 1
52   make DESTDIR=$startdir/pkg install