summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c25a2643ec4f671e9e04442fbbbd41d833f3267 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Maintainer: Clément Démoulins <clement@archivel.fr>
# Contributor: wzff
# Contributor: BluePeppers
# Contributor: n0nsense
# Contributor: Magicking

pkgname=libpurple-minimal
pkgver=2.10.11
pkgrel=1
pkgdesc="minimal build of the pidgin IM library (no gstreamer, perl and X11 dependencies)"
arch=('i686' 'x86_64')
url="http://developer.pidgin.im/wiki/WhatIsLibpurple"
license=('GPL')
options=('!libtool')
depends=('glib2' 'libsasl' 'libxml2' 'libidn' 'nss')
makedepends=('ca-certificates' 'intltool')
optdepends=('ca-certificates: SSL CA certificates')
conflicts=('pidgin' 'libpurple')
provides=("libpurple=${pkgver}")

source=("http://downloads.sourceforge.net/pidgin/pidgin-${pkgver}.tar.gz")
md5sums=('94a7ee57886b39907d39b518c03838a3')

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

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

# vim:set ts=2 sw=2 et: