goffice: fix cross build.

This commit is contained in:
Juan RP 2014-04-03 11:43:43 +02:00
parent af957bc4c9
commit 8e972a224a
1 changed files with 3 additions and 1 deletions

View File

@ -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() {