# Template file for 'goffice'
pkgname=goffice
version=0.10.9
revision=3
hostmakedepends="pkg-config pcre intltool"
makedepends="GConf-devel gtk+3-devel librsvg-devel libgsf-devel libxml2-devel pcre-devel"
build_style="gnu-configure"
maintainer="Philipp Hirsch <itself@hanspolo.net>"
license="GPL-2"
short_desc="Library of document-centric objects and utilities building on top of GLib and Gtk+"
homepage="http://freecode.com/projects/${pkgname}"
distfiles="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=8f21cc656645dfe9da518a672350f5a5a5710b20278fa6a7a5af4d583d148875

goffice-devel_package() {
  short_desc+=" - development files"
  depends="libgsf-devel gtk+3-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
  pkg_install() {
    vmove usr/include
    vmove "usr/lib/*.so"
    vmove usr/lib/pkgconfig
    vmove usr/share/gtk-doc
  }
}
