void-packages/srcpkgs/goffice/template
2021-05-19 21:13:10 +02:00

30 lines
935 B
Bash

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