1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="GLib/GObject wrapper for the Facebook Graph API"
8 url="https://wiki.gnome.org/Projects/GFBGraph"
11 depends=(gnome-online-accounts)
12 makedepends=(rest json-glib gobject-introspection gtk-doc git)
13 _commit=b5ccfc1195c89850b009966abc70a97abdb50a72
14 source=("git+https://gitlab.gnome.org/GNOME/libgfbgraph.git#commit=$_commit")
19 git describe --tags | sed 's/^v_//;s/_/./g;s/-/+/g'
24 NOCONFIGURE=1 ./autogen.sh
29 ./configure --prefix=/usr \
32 --enable-introspection
33 sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
39 make DESTDIR="$pkgdir" install \
40 libgfbgraphdocdir=/usr/share/doc/$pkgname