summaryrefslogtreecommitdiff
path: root/pcr/libpurple-minimal/PKGBUILD
blob: e2ec95df46ae6c767cf32e96b80a5fd5902ffb5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Maintainer (Arch): Magicking <syllaur@gmail.com>
# Contributors: wzff BluePeppers n0nsense
pkgname=libpurple-minimal
pkgver=2.10.11
pkgrel=3
pkgdesc="minimal build of the pidgin IM library (no gstreamer, perl and X11 dependencies)"
arch=('i686' 'x86_64' 'mips64el')
url="http://developer.pidgin.im/wiki/WhatIsLibpurple"
license=('GPL')
depends=('glib2' 'gnutls' 'libxml2' 'libidn' 'nss' 'avahi')
makedepends=('make' 'intltool')
conflicts=('libpurple')
provides=("libpurple=${pkgver}")
source="http://downloads.sourceforge.net/pidgin/pidgin-${pkgver}.tar.gz"

build(){
	cd $srcdir/pidgin-${pkgver}
	./configure --prefix=/usr \
		    --sysconfdir=/etc \
		    --disable-perl \
		    --disable-gtkui \
		    --disable-consoleui \
		    --disable-sm \
		    --disable-gestures \
		    --disable-screensaver \
		    --disable-startup-notification \
		    --disable-schemas-install \
		    --disable-tcl \
		    --disable-tk \
		    --disable-nls \
		    --without-x \
		    --disable-vv \
		    --disable-gstreamer \
		    --disable-meanwhile \
		    --disable-dbus \
		    --disable-doxygen \
        --with-system-ssl-certs=/etc/ssl/certs
	make -C libpurple
}

package() {
	cd $srcdir/pidgin-${pkgver}
	make -C libpurple DESTDIR=$pkgdir install
}

sha512sums=('cdd42e623b42f83fe2db0a4e132a2d4bbd380fb8b926882c59b6a492f588f5fe639582242236ada9f9e2e6fe0b70be3c695958f1beeb445df99beb845c0afde7')