updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / dbtoepub / PKGBUILD
blob8256ca239ca7097763bc3cb3d4138d86eb0b7ee3
1 # Maintainer: Markus Opitz <mastero23 at gmail dot com>
3 pkgname=dbtoepub
4 pkgver=1.76.1
5 pkgrel=1
6 pkgdesc="DocBook to .epub converter"
7 arch=('i686' 'x86_64')
8 url="http://docbook.sourceforge.net/"
9 license=('unknown')
10 depends=('docbook-xsl=1.76.1' 'libxslt' 'ruby' 'zip')
11 source=(http://downloads.sourceforge.net/sourceforge/docbook/docbook-xsl-${pkgver}.tar.bz2
12         dbtoepub.patch)
13 md5sums=('b5340507cb240cc7ce00632b9c40bff5'
14          '359b15e780279fcd898662a4583585f0')
16 package() {
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"
20   
21   cd bin
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"