2014-01-05 17:18:35 +00:00
|
|
|
# Template file for 'goffice'
|
|
|
|
pkgname=goffice
|
2014-03-13 23:17:09 +00:00
|
|
|
version=0.10.12
|
2014-04-03 09:39:24 +00:00
|
|
|
revision=2
|
2014-03-13 23:17:09 +00:00
|
|
|
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"
|
2014-01-06 08:03:04 +00:00
|
|
|
short_desc="Library of document-centric objects and utilities building on top of GLib and Gtk+"
|
2014-01-05 17:18:35 +00:00
|
|
|
homepage="http://freecode.com/projects/${pkgname}"
|
2014-01-05 19:52:07 +00:00
|
|
|
distfiles="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
2014-03-13 23:17:09 +00:00
|
|
|
checksum=ce91a3bf20416301f00ceb46c160631234e451a502f54ee0ef1ad9f262d3006e
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
libtoolize -f
|
|
|
|
}
|
2014-01-05 17:18:35 +00:00
|
|
|
|
2014-04-03 09:39:24 +00:00
|
|
|
post_install() {
|
|
|
|
# XXX wtf
|
|
|
|
mv ${DESTDIR}/destdir/goffice-0.10.12/usr/share/goffice ${DESTDIR}/usr/share
|
|
|
|
}
|
|
|
|
|
2014-01-05 17:18:35 +00:00
|
|
|
goffice-devel_package() {
|
2014-01-06 08:03:04 +00:00
|
|
|
short_desc+=" - development files"
|
2014-01-05 20:10:17 +00:00
|
|
|
depends="libgsf-devel gtk+3-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
|
2014-01-05 17:18:35 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-05 17:37:38 +00:00
|
|
|
vmove usr/share/gtk-doc
|
2014-01-05 17:18:35 +00:00
|
|
|
}
|
|
|
|
}
|