1 # Maintainer: Markus Opitz <mastero23 at gmail dot com>
6 pkgdesc="DocBook to .epub converter"
8 url="http://docbook.sourceforge.net/"
10 depends=('docbook-xsl=1.76.1' 'libxslt' 'ruby' 'zip')
11 source=(http://downloads.sourceforge.net/sourceforge/docbook/docbook-xsl-${pkgver}.tar.bz2
13 md5sums=('b5340507cb240cc7ce00632b9c40bff5'
14 '359b15e780279fcd898662a4583585f0')
17 cd "$srcdir/docbook-xsl-$pkgver/epub/"
18 install -D -m 644 docbook.xsl \
19 "$pkgdir/usr/share/xml/docbook/xsl-stylesheets-$pkgver/epub/docbook.xsl"
22 patch -p1 < "$srcdir/dbtoepub.patch"
23 install -D -m 644 lib/docbook.rb "$pkgdir/usr/lib/ruby/site_ruby/dbtoepub/docbook.rb"
24 install -D -m 755 dbtoepub "$pkgdir/usr/bin/dbtoepub"