38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
# Template file for 'gfbgraph'
|
|
pkgname=gfbgraph
|
|
version=0.2.3
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config intltool $(vopt_if gir 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-or-later"
|
|
homepage="http://live.gnome.org/gfbgraph"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=da1179083cde2b649d7491c745250a00d292e390fd620b7dd2dd95a122dae0b6
|
|
|
|
build_options="gir"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
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
|
|
}
|
|
}
|