updated on Fri Jan 20 16:18:17 UTC 2012
[aur-mirror.git] / pidgin-mini / PKGBUILD
blob76620e6149010a88fff9b1fceec72219a41871ff
1 # Maintainer Max Nemeth <max.nemeth@gmail.com>
2 # Contributor: Henri Häkkinen <henuxd@gmail.com>
4 pkgname=pidgin-mini
5 pkgver=2.10.1
6 pkgrel=1
7 pkgdesc="A minimal version of Pidgin; without finch, gtkspell, avahi etc. and does not install development files"
8 arch=('i686' 'x86_64')
9 url="http://pidgin.im/"
10 license=('GPL')
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')
15 options=('!libtool')
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')
22 build() {
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
35   make
36  }
38  package() {
39   cd "$srcdir/pidgin-$pkgver"
40   make DESTDIR="$pkgdir" install
42   # Remove GConf schema file
43   rm -rf "$pkgdir/etc"
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"