# Description: HTTP library implementation in C. # URL: https://wiki.gnome.org/action/show/Projects/libsoup # Maintainer: Danny Rawlins, crux at romster dot me # Packager: Matt Housh, jaeger at morpheus dot net # Depends on: glib-networking gobject-introspection krb5 libxml2 # Optional: vala ## gobject-introspection is optional but required for webkitgtk name=libsoup version=2.56.0 release=1 source=(https://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz) build() { cd $name-$version local VALA if [ "$(pkginfo -i | grep '^vala ')" ]; then VALA='--enable-vala=yes' else VALA='--enable-vala=no' fi ./configure --prefix=/usr $VALA make make DESTDIR=$PKG install rm -r $PKG/usr/share/{locale,gtk-doc} }