void-packages/srcpkgs/goffice/template

36 lines
1.1 KiB
Text
Raw Normal View History

2014-01-05 17:18:35 +00:00
# Template file for 'goffice'
pkgname=goffice
2015-02-05 16:42:32 +00:00
version=0.10.20
2014-10-04 06:48:39 +00:00
revision=1
hostmakedepends="pkg-config pcre intltool libtool glib-devel"
makedepends="GConf-devel gtk+3-devel librsvg-devel libgsf-devel libxml2-devel pcre-devel libxslt-devel"
2014-01-05 17:18:35 +00:00
build_style="gnu-configure"
maintainer="Philipp Hirsch <itself@hanspolo.net>"
license="GPL-2"
2015-01-24 22:53:56 +00:00
short_desc="Document-centric objects and utilities for GLib and Gtk+"
2014-01-05 17:18:35 +00:00
homepage="http://freecode.com/projects/${pkgname}"
2015-01-24 22:53:56 +00:00
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
2015-02-05 16:42:32 +00:00
checksum=75cad636c7cb586e7c8d4565fffb631afaf124f9d65871e33b8c16c8605159a8
pre_configure() {
libtoolize -f
}
2014-01-05 17:18:35 +00:00
post_install() {
# XXX wtf
2014-04-03 09:43:43 +00:00
if [ -d ${DESTDIR}/destdir/goffice-${version}/usr/share/goffice ]; then
mv ${DESTDIR}/destdir/goffice-${version}/usr/share/goffice ${DESTDIR}/usr/share
fi
}
2014-01-05 17:18:35 +00:00
goffice-devel_package() {
2015-01-24 22:53:56 +00:00
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
}
2014-01-05 17:18:35 +00:00
}