# Template file for 'gfbgraph'
pkgname=gfbgraph
version=0.2.2
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="rest-devel json-glib-devel gnome-online-accounts-devel"
short_desc="GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://live.gnome.org/gfbgraph"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=66c7b1c951863565c179d0b4b5207f27b3b36f80afed9f6a9acfc5fc3ae775d4

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
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
		vmove "usr/lib/*.so"
	}
}
