1 # Contributor: Nick B <Shirakawasuna at gmail _dot_com>
2 # Maintainer: Ray Kohler <ataraxia937@gmail.com>
8 pkgdesc="An application for converting OOXML files to Oasis formats"
10 url="http://odf-converter.sourceforge.net/"
12 depends=('glib2' 'zlib')
14 source=(http://downloads.sourceforge.net/odf-converter/OdfAddinForOffice-src-$pkgver.zip
15 archpatch-odf-converter-2.diff
16 license_odf-converter)
17 md5sums=('6046ba273ab2d721894d5ce6552d37b7'
18 'a9187bc2211f52a59448a809dafb497c'
19 '33b0d045d6aee3445b153b32e45061bb')
23 # Parallel make breaks this build
26 export MONO_SHARED_DIR=$startdir/src/.wabi
27 mkdir -p $MONO_SHARED_DIR
30 patch -p0 <$startdir/src/archpatch-odf-converter-2.diff
31 cd $startdir/src/odf-converter-r5224/trunk/source/Common/OdfZipUtils
33 cd ../../Common/OdfConverterLib/
35 cd ../../Word/Converter/
37 cd ../../Presentation/Converter/
39 cd ../../Spreadsheet/Converter/
41 cd ../../Shell/OdfConverter
43 make DESTDIR=$startdir/pkg install || return 1
45 mkdir $startdir/pkg/usr/bin
46 ln -sf /usr/lib/ooo-2.0/program/OdfConverter $startdir/pkg/usr/bin/odf-converter
48 install -D -m644 $startdir/src/license_odf-converter $startdir/pkg/usr/share/licenses/odf-converter/COPYING