1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: damir <damir@archlinux.org>
3 # Contributor: Brice Carpentier <brice.carpentier@orange.fr>
8 pkgdesc="A lightweight Jabber client library written in C/Glib"
11 url="https://mcabber.com/"
12 depends=('glib2' 'gnutls' 'libidn' 'krb5')
13 makedepends=('intltool' 'pkgconfig' 'gtk-doc')
14 source=(https://mcabber.com/files/loudmouth/$pkgname-$pkgver.tar.bz2{,.asc})
15 sha256sums=('31cbc91c1fddcc5346b3373b8fb45594e9ea9cc7fe36d0595e8912c47ad94d0d'
17 validpgpkeys=('EACADFF156849BC89653139E3C2900DEACB7FC95')
20 cd ${pkgname}-${pkgver}
21 ./configure --prefix=/usr --disable-static --with-compile-warnings=no --enable-gtk-doc
22 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
27 cd ${pkgname}-${pkgver}
28 make DESTDIR="${pkgdir}" install