35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'goffice'
|
|
pkgname=goffice
|
|
version=0.10.27
|
|
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"
|
|
short_desc="Document-centric objects and utilities for GLib and Gtk+"
|
|
homepage="http://freecode.com/projects/${pkgname}"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=3717b400fd190f18cf1dd7a16e1991b1f7c7cbdfeb1993656e7972347168d8c0
|
|
|
|
pre_configure() {
|
|
autoreconf -if
|
|
}
|
|
|
|
post_install() {
|
|
# XXX wtf
|
|
if [ -d ${DESTDIR}/destdir/goffice-${version}/usr/share/goffice ]; then
|
|
mv ${DESTDIR}/destdir/goffice-${version}/usr/share/goffice ${DESTDIR}/usr/share
|
|
fi
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|