description="The uhttpmock package contains a library for mocking web service APIs which use HTTP or HTTPS" url="https://github.com/Distrotech/uhttpmock" packager="spiky " contributors="Jayce,Tnut" makedepends=(meson libsoup3 glib vala gtk-doc) name=uhttpmock version=0.9.0 source=(https://gitlab.freedesktop.org/pwithnall/uhttpmock/-/archive/$version/$name-$version.tar.gz) build() { cd ${name}-$version mkdir build cd build meson --prefix=/usr \ -D introspection=false \ -D gtk_doc=false \ .. ninja DESTDIR=$PKG ninja install } uptodate() { local url ext ext=".tar.xz" url="http://tecnocode.co.uk/downloads/uhttpmock" lynx -dump -listonly --nonumbers $url/?C=M\;O=A|\ grep $ext$|tail -1|sed s@$url/$name-@@|sed s@$ext@@ }