# Maintainer: Natanael Copa pkgname=libsoup pkgver=2.56.0 pkgrel=0 pkgdesc="Gnome HTTP Library" url="ihttp://live.gnome.org/LibSoup" arch="all" license="LGPL2+" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" depends="glib-networking" depends_dev="gnutls-dev sqlite-dev" makedepends="$depends_dev libgcrypt-dev libgpg-error-dev zlib-dev gobject-introspection-dev intltool vala libxml2-dev" 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 } md5sums="465083f74b7bb035959ddb0599313986 libsoup-2.56.0.tar.xz" sha256sums="d8216b71de8247bc6f274ec054c08547b2e04369c1f8add713e9350c8ef81fe5 libsoup-2.56.0.tar.xz" sha512sums="09207ea41a4f251318f99f748275ea8c1c203d3b55d7a0adaf64721198b5858f6d5bbc46215cdc723b22250c36615f0d1f9cea4e1e3ab9b489e5548a934f3b31 libsoup-2.56.0.tar.xz"