# Maintainer: Natanael Copa pkgname=libsoup pkgver=2.34.2 pkgrel=1 pkgdesc="Gnome HTTP Library" url="http://www.gnome.org" arch="all" license="LGPL" subpackages="$pkgname-dev $pkgname-doc" depends="glib-networking" makedepends="pkgconfig glib-dev gnutls-dev libxml2-dev libiconv-dev gettext-dev libgcrypt-dev libgpg-error-dev zlib-dev gobject-introspection-dev" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" depends_dev="glib-dev libxml2-dev gnutls-dev" build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ --without-gnome \ --disable-tls-check \ --enable-introspection=yes \ || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la } md5sums="2454b38681a6e082b613a781a501e721 libsoup-2.34.2.tar.bz2"