void-packages/srcpkgs/gfbgraph/template

37 lines
1015 B
Bash

# Template file for 'gfbgraph'
pkgname=gfbgraph
version=0.2.3
revision=6
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static"
hostmakedepends="pkg-config intltool"
makedepends="rest-devel json-glib-devel gnome-online-accounts-devel"
short_desc="GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/GFBGraph"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=da1179083cde2b649d7491c745250a00d292e390fd620b7dd2dd95a122dae0b6
build_options="gir"
build_options_default="gir"
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/gtk-doc
vmove "usr/lib/*.so"
if [ -z "$CROSS_BUILD" ]; then
vmove usr/share/gir-1.0
fi
}
}