2 # Maintainer: Alpar Torok <torokalpar@gmail.com>
3 pkgname=libreoffice-converter
7 pkgdesc="Cli tool to convert documents."
9 url="http://www.artofsolving.com/files/DocumentConverter.py"
12 depends=( "python2" "libreoffice" "libreoffice-sdk" )
16 provides=( "loconvert" )
25 "DocumentConverter.py"
26 # adapted from the suse package for the newer DocumentConverter
27 "DocumentConverter.py-more-types.diff"
28 # From the opensuse package
30 # Needed to make it work on arch
31 "loconvert.arch.patch"
34 md5sums=('2bb97a522e0372f1919191cb4cdc45e6'
35 '3d6da38a242d7611f41c8fe531582388'
36 'e190f63e7e2bc0886c386d29692ce870'
37 '2649c81d6d093620fc94f9e645958163')
41 patch DocumentConverter.py < DocumentConverter.py-more-types.diff
42 patch loconvert < loconvert.arch.patch
47 mkdir -p usr/share/libreoffice/program/
49 cp $srcdir/DocumentConverter.py usr/share/libreoffice/program/
50 cp $srcdir/loconvert usr/bin/
51 chmod +x usr/bin/loconvert
54 # vim:set ts=2 sw=2 et: