# Maintainer: Natanael Copa pkgname=libsoup pkgver=2.57.1 pkgrel=0 pkgdesc="Gnome HTTP Library" url="http://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 } sha512sums="1e19f101a7adcbe9040045ba0cc016491928086f55bbfa2d2af8613010ab84d48f0d6e466a79095c7a94ee0a1a0c02c2d19a589e857c026a8bc74f59afbe9b44 libsoup-2.57.1.tar.xz"