void-packages/srcpkgs/goffice/template
2018-08-03 20:55:12 +02:00

28 lines
947 B
Bash

# Template file for 'goffice'
pkgname=goffice
version=0.10.41
revision=1
hostmakedepends="automake pkg-config pcre gettext-devel intltool libtool glib-devel gtk-doc"
makedepends="GConf-devel gtk+3-devel librsvg-devel libgsf-devel libxml2-devel pcre-devel libxslt-devel"
build_style="gnu-configure"
maintainer="Philipp Hirsch <itself@hanspolo.net>"
license="GPL-2.0-or-later"
short_desc="Document-centric objects and utilities for GLib and Gtk+"
homepage="https://github.com/GNOME/goffice"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=0cf7335914be0c7e96205d3e8b03dbc619995a7a3b41c3b675ef6b3a54a888b6
pre_configure() {
autoreconf -if
}
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
}
}