1 # Maintainer: Aljosha Papsch <papsch.al@googlemail.com>
6 pkgdesc="Developer documentation for Cairo"
10 url="http://developer.gnome.org/cairo/stable/"
11 source=(http://cairographics.org/releases/cairo-${pkgver}.tar.gz)
12 sha1sums=('ccce5ae03f99c505db97c286a0c9a90a926d3c6e')
14 _docsdir="${srcdir}/${_pkg}-${pkgver}/doc/public"
21 install -d ${pkgdir}/usr/share/doc/${_pkg} \
22 ${pkgdir}/usr/share/devhelp/books/${_pkg}
24 # documentation to docs dir
27 ${pkgdir}/usr/share/doc/${_pkg}
29 # make it accessible in devhelp
31 ${_docsdir}/html/${_pkg}.devhelp2 \
32 ${pkgdir}/usr/share/devhelp/books/${_pkg}
34 sed -i "s/<book/<book base=\"\/usr\/share\/doc\/${_pkg}\"/g" ${pkgdir}/usr/share/devhelp/books/${_pkg}/${_pkg}.devhelp2
37 # vim:set ts=2 sw=2 et: