32a898a0aa
[ci skip]
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Template file for 'gfbgraph'
|
|
pkgname=gfbgraph
|
|
version=0.2.3
|
|
revision=5
|
|
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="Juan RP <xtraeme@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"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686-musl|x86_64-musl) build_options_default+=" gir" ;;
|
|
*-musl) ;;
|
|
*) build_options_default+=" gir" ;;
|
|
esac
|
|
|
|
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
|
|
}
|
|
}
|