1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
4 pkgver=0.8.1+r4+ge5ee6ef
6 pkgdesc="Library for accessing RESTful web services (legacy)"
7 url="https://gitlab.gnome.org/GNOME/librest"
10 depends=(glib2 libxml2 libsoup)
11 makedepends=(gobject-introspection gtk-doc git)
12 _commit=e5ee6ef751ee5a38d7b9fadcd631cf6ecec7b240 # librest-0-7
13 source=("git+https://gitlab.gnome.org/GNOME/librest.git#commit=$_commit"
16 'de88fef81a5bc060eff45003f4fd755802097e70a782111a9fa18310d123e8e2')
20 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
26 # Skip tests trying to connect to oauthbin.com
27 git apply -3 ../skip-test.diff
29 NOCONFIGURE=1 ./autogen.sh
34 ./configure --prefix=/usr --sysconfdir=/etc --enable-gtk-doc
35 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
45 depends+=(libg{lib,object,io}-2.0.so libxml2.so libsoup{,-gnome}-2.4.so)
46 provides+=(librest{,-extras}-0.7.so)
49 make DESTDIR="$pkgdir" install