void-packages/srcpkgs/goffice/template

36 lines
1.1 KiB
Plaintext
Raw Normal View History

2014-01-05 18:18:35 +01:00
# Template file for 'goffice'
pkgname=goffice
2014-11-22 11:10:27 +01:00
version=0.10.18
2014-10-04 08:48:39 +02: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 18:18:35 +01:00
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+"
2014-01-05 18:18:35 +01:00
homepage="http://freecode.com/projects/${pkgname}"
distfiles="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
2014-11-22 11:10:27 +01:00
checksum=4743a148d4452743f3484ed28285a6889adb4af2a61b72448e0ddfe7d5142c64
pre_configure() {
libtoolize -f
}
2014-01-05 18:18:35 +01:00
post_install() {
# XXX wtf
2014-04-03 11:43:43 +02: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 18:18:35 +01:00
goffice-devel_package() {
short_desc+=" - development files"
depends="libgsf-devel gtk+3-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
2014-01-05 18:18:35 +01:00
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
2014-01-05 18:37:38 +01:00
vmove usr/share/gtk-doc
2014-01-05 18:18:35 +01:00
}
}