# Template file for 'gfbgraph' pkgname=gfbgraph version=0.2.4 revision=1 build_style=gnu-configure build_helper="gir" configure_args="--disable-static" hostmakedepends="pkg-config intltool automake libtool gtk-doc which" makedepends="rest-devel json-glib-devel gnome-online-accounts-devel" short_desc="GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs" maintainer="Orphaned " license="LGPL-2.1-or-later" homepage="https://wiki.gnome.org/Projects/GFBGraph" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=6065391f35e7335588cc6b0cc4c1abbce7341488573a654551264cb9793b9379 build_options="gir" build_options_default="gir" if [ "$CROSS_BUILD" ]; then configure_args+=" --disable-gtk-doc" else configure_args+=" --enable-gtk-doc" fi do_check() { : } pre_configure() { NOCONFIGURE=1 sh autogen.sh } post_install() { rm -rf ${DESTDIR}/usr/doc } gfbgraph-devel_package() { depends="${makedepends} ${sourcepkg}-${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig if [ -z "$CROSS_BUILD" ]; then vmove usr/share/gtk-doc fi vmove "usr/lib/*.so" if [ -z "$CROSS_BUILD" ]; then vmove usr/share/gir-1.0 fi } }