git » loudmouth.git » main » tree

[main] / PKGBUILD

# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Brice Carpentier <brice.carpentier@orange.fr>

pkgname=loudmouth
pkgver=1.5.4
pkgrel=2
pkgdesc="A lightweight Jabber client library written in C/Glib"
arch=('x86_64' 'armv7h')
license=('LGPL')
url="https://mcabber.com/"
depends=('glib2' 'gnutls' 'libidn' 'krb5')
makedepends=('intltool' 'pkg-config' 'gtk-doc')
source=(https://mcabber.com/files/loudmouth/$pkgname-$pkgver.tar.bz2{,.asc})
sha256sums=('31cbc91c1fddcc5346b3373b8fb45594e9ea9cc7fe36d0595e8912c47ad94d0d'
            'SKIP')
validpgpkeys=('EACADFF156849BC89653139E3C2900DEACB7FC95')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr --disable-static --with-compile-warnings=no --enable-gtk-doc
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}