summaryrefslogtreecommitdiffstats
path: root/docbook2odf
diff options
context:
space:
mode:
Diffstat (limited to 'docbook2odf')
-rw-r--r--docbook2odf/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/docbook2odf/PKGBUILD b/docbook2odf/PKGBUILD
new file mode 100644
index 0000000..cdeff81
--- /dev/null
+++ b/docbook2odf/PKGBUILD
@@ -0,0 +1,41 @@
+# Contributor: Mathieu Clabaut <mathieu.clabaut@gmail.com>
+pkgname=docbook2odf
+pkgver=0.244
+pkgrel=2
+pkgdesc="toolkit that automaticaly converts DocBook to OASIS OpenDocument"
+arch=(i686 x86_64)
+url="http://open.comsultia.com/docbook2odf/"
+license=('GPL2')
+depends=('libxslt' 'perl-xml-libxslt' 'zip' 'perl-archive-zip')
+makedepends=()
+provides=('docbook2odf')
+conflicts=()
+replaces=()
+backup=()
+install=
+source=(http://open.comsultia.com/docbook2odf/dwn/${pkgname}-${pkgver}.tar.gz)
+md5sums=('3b285dc4d6298beb12818a350776751f')
+
+noextract=()
+build() {
+ src=$startdir/src/docbook2odf-${pkgver}
+ dst=$startdir/pkg
+ mkdir -p "$dst/usr/share/docbook2odf/examples"
+ mkdir -p "$dst/usr/bin"
+ mkdir -p "$dst/usr/share/applications"
+ mkdir -p "$dst/usr/share/man/man1"
+ install -m0644 $src/bindings/desktop/*.desktop $dst/usr/share/applications
+ install -m0644 $src/docs/docbook2odf.1 $dst/usr/share/man/man1/
+ install -m0644 $src/examples/* $dst/usr/share/docbook2odf/examples
+ install -m0755 $src/utils/docbook2odf $dst/usr/bin
+ dst=$dst/usr/share/docbook2odf/xsl
+ mkdir -p $dst/document-content
+ install -m0644 $src/xsl/* $dst/
+ install -m0644 $src/xsl/document-content/* $dst/document-content/
+ mkdir -p $dst/document-styles
+ install -m0644 $src/xsl/document-styles/* $dst/document-styles/
+ mkdir -p $dst/overlay
+ install -m0644 $src/xsl/overlay/* $dst/overlay/
+ mkdir -p $dst/common
+ install -m0644 $src/xsl/common/* $dst/common/
+}