summaryrefslogtreecommitdiff
path: root/pcr/libpurple-minimal/PKGBUILD
blob: 5526879d13451235fe059dda84d1ccd9d5e80a73 (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: Magicking <syllaur@gmail.com>
# Contributors: wzff BluePeppers n0nsense
pkgname=libpurple-minimal
pkgver=2.10.0
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"
md5sums=('b92f83f6f075d9cd814d3ccff9fd6cac')

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
}