Date: Wednesday, September 5, 2018 @ 00:15:26 Author: heftig Revision: 333364
archrelease: copy trunk to gnome-unstable-x86_64 Added: libsoup/repos/gnome-unstable-x86_64/ libsoup/repos/gnome-unstable-x86_64/PKGBUILD (from rev 333363, libsoup/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: libsoup/repos/gnome-unstable-x86_64/PKGBUILD (from rev 333363, libsoup/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2018-09-05 00:15:26 UTC (rev 333364) @@ -0,0 +1,38 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgname=libsoup +pkgver=2.64.0+7+g1dd3333a +pkgrel=1 +pkgdesc="HTTP client/server library for GNOME" +url="https://wiki.gnome.org/Projects/libsoup" +arch=(x86_64) +license=(LGPL) +depends=(glib2 libxml2 glib-networking sqlite krb5) +makedepends=(gobject-introspection python vala git gtk-doc meson) +checkdepends=(apache php-apache) +_commit=1dd3333a793089768506ad07fbf328ac13fd2897 # master +source=("git+https://gitlab.gnome.org/GNOME/libsoup.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname +} + +build() { + arch-meson $pkgname build -D doc=true -D vapi=true + ninja -C build +} + +check() { + meson test -C build +} + +package() { + DESTDIR="$pkgdir" meson install -C build +}