# Maintainer: Natanael Copa pkgname=libsoup pkgver=2.44.0 pkgrel=0 pkgdesc="Gnome HTTP Library" url="http://www.gnome.org" arch="all" license="LGPL" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" depends="glib-networking" depends_dev="glib-dev libxml2-dev gnutls-dev sqlite-dev" makedepends="$depends_dev libgcrypt-dev libgpg-error-dev zlib-dev gobject-introspection-dev intltool" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" build() { cd "$srcdir"/$pkgname-$pkgver DATADIRNAME=share ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-more-warnings \ --disable-static \ --disable-tls-check \ --enable-introspection=yes \ --localedir=/usr/share/locale \ || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la } md5sums="30ac8ecfb3b1ab2a1579e84462ad0548 libsoup-2.44.0.tar.xz" sha256sums="2ed9b200bda39c686d19eb4a0a5464e9166d09cbb3ced5a689c78214e83b5c27 libsoup-2.44.0.tar.xz" sha512sums="451cc93d794fc6456d295bc26abde173464e60ef2539fd6460a5e46e2360aa75135c740f47bacbf07ef0d08f8938a82d8596f61d44a32de6bed16723678633fe libsoup-2.44.0.tar.xz"