1 # Contributor: Mathieu Clabaut <mathieu.clabaut@gmail.com>
5 pkgdesc="toolkit that automaticaly converts DocBook to OASIS OpenDocument"
7 url="http://open.comsultia.com/docbook2odf/"
9 depends=('libxslt' 'perl-xml-libxslt' 'zip' 'perl-archive-zip')
11 provides=('docbook2odf')
16 source=(http://open.comsultia.com/docbook2odf/dwn/${pkgname}-${pkgver}.tar.gz)
17 md5sums=('3b285dc4d6298beb12818a350776751f')
21 src=$startdir/src/docbook2odf-${pkgver}
23 mkdir -p "$dst/usr/share/docbook2odf/examples"
24 mkdir -p "$dst/usr/bin"
25 mkdir -p "$dst/usr/share/applications"
26 mkdir -p "$dst/usr/share/man/man1"
27 install -m0644 $src/bindings/desktop/*.desktop $dst/usr/share/applications
28 install -m0644 $src/docs/docbook2odf.1 $dst/usr/share/man/man1/
29 install -m0644 $src/examples/* $dst/usr/share/docbook2odf/examples
30 install -m0755 $src/utils/docbook2odf $dst/usr/bin
31 dst=$dst/usr/share/docbook2odf/xsl
32 mkdir -p $dst/document-content
33 install -m0644 $src/xsl/* $dst/
34 install -m0644 $src/xsl/document-content/* $dst/document-content/
35 mkdir -p $dst/document-styles
36 install -m0644 $src/xsl/document-styles/* $dst/document-styles/
38 install -m0644 $src/xsl/overlay/* $dst/overlay/
40 install -m0644 $src/xsl/common/* $dst/common/