From 8e972a224abca11fc116dbc149e13e932ad71446 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 3 Apr 2014 11:43:43 +0200 Subject: [PATCH] goffice: fix cross build. --- srcpkgs/goffice/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/goffice/template b/srcpkgs/goffice/template index 53663e1ad4..a6144a2893 100644 --- a/srcpkgs/goffice/template +++ b/srcpkgs/goffice/template @@ -18,7 +18,9 @@ pre_configure() { post_install() { # XXX wtf - mv ${DESTDIR}/destdir/goffice-0.10.12/usr/share/goffice ${DESTDIR}/usr/share + 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() {