archrelease: copy trunk to extra-x86_64
[arch-packages.git] / loudmouth / repos / extra-x86_64 / PKGBUILD
blob8e0e7a1e2bd2298e97c707d8fd83015edd06d28c
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: damir <damir@archlinux.org>
3 # Contributor: Brice Carpentier <brice.carpentier@orange.fr>
5 pkgname=loudmouth
6 pkgver=1.5.4
7 pkgrel=1
8 pkgdesc="A lightweight Jabber client library written in C/Glib"
9 arch=('x86_64')
10 license=('LGPL')
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'
16             'SKIP')
17 validpgpkeys=('EACADFF156849BC89653139E3C2900DEACB7FC95')
19 build() {
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
23   make
26 package() {
27   cd ${pkgname}-${pkgver}
28   make DESTDIR="${pkgdir}" install