1 # Maintainer Max Nemeth <max.nemeth@gmail.com>
2 # Contributor: Henri Häkkinen <henuxd@gmail.com>
7 pkgdesc="A minimal version of Pidgin; without finch, gtkspell, avahi etc. and does not install development files"
9 url="http://pidgin.im/"
11 depends=('gtk2' 'startup-notification' 'nss' 'hicolor-icon-theme')
12 makedepends=('ca-certificates' 'python2' 'intltool')
13 provides=("pidgin=$pkgver" "libpurple=$pkgver")
14 conflicts=('pidgin' 'libpurple')
16 install=pidgin.install
17 source=(http://downloads.sourceforge.net/pidgin/pidgin-$pkgver.tar.bz2 \
18 http://developer.pidgin.im/raw-attachment/ticket/14799/pidgin-libm.patch)
19 md5sums=('eafb06b4083a201fe22d310e897a19dd'
20 '3cf0c3a476007781f4b0d855817cf58a')
23 cd "$srcdir/pidgin-$pkgver"
25 #temporary patch due to an upstream bug
26 patch -p1 < $srcdir/pidgin-libm.patch
28 ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-install \
29 --disable-meanwhile --disable-nm --disable-perl --disable-gnutls \
30 --disable-doxygen --disable-gtkspell --disable-gestures \
31 --disable-consoleui --disable-tk --disable-tcl --disable-avahi \
32 --disable-gstreamer --disable-screensaver --disable-idn --disable-mono\
33 --disable-vv --with-python=/usr/bin/python2 \
34 --with-system-ssl-certs=/etc/ssl/certs
39 cd "$srcdir/pidgin-$pkgver"
40 make DESTDIR="$pkgdir" install
42 # Remove GConf schema file
45 # Remove libpurple and pidgin development headers
46 rm -rf "$pkgdir/usr/include"
48 # Remove pkgconfig scripts
49 rm -rf "$pkgdir/usr/lib/pkgconfig"
51 # Remove libpurple aclocal macro file
52 rm -rf "$pkgdir/usr/share/aclocal"