summaryrefslogtreecommitdiff
path: root/extra/loudmouth/PKGBUILD
blob: 62a25f5e1dd5b72b187f9d6de88f95ba8c2bbef2 (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
 $Id: PKGBUILD,v 1.3 2003/11/06 08:27:17 dorphell Exp
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Brice Carpentier <brice.carpentier@orange.fr>

pkgname=loudmouth
pkgver=1.4.3
pkgrel=2
pkgdesc="A lightweight Jabber client library written in C/Glib"
arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://groups.google.com/group/loudmouth-dev"
depends=('glib2>=2.24.1' 'gnutls>=2.8.6' 'libidn>=1.16')
options=('!libtool')
makedepends=('intltool' 'pkgconfig' 'gtk-doc')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.4/${pkgname}-${pkgver}.tar.bz2
        01-fix-sasl-md5-digest-uri.patch
        03-drop-stanzas-on-fail.patch
        04-use-pkg-config-for-gnutls.patch)
md5sums=('55339ca42494690c3942ee1465a96937'
         'dc799cea18b24847b1e008c7424010a3'
         'b7b2d81b01a5eee5fd5e21cae67b4af7'
         'bffb25b9551df43255fe1706588582f3')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np1 -i "${srcdir}/01-fix-sasl-md5-digest-uri.patch"
  patch -Np1 -i "${srcdir}/03-drop-stanzas-on-fail.patch"
  patch -Np1 -i "${srcdir}/04-use-pkg-config-for-gnutls.patch"
  libtoolize --force
  autoreconf
  ./configure --prefix=/usr --disable-static
  make
  make DESTDIR="${pkgdir}" install
}