1 # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
6 _abstractver=80d829deb5892f209a85f83ae3a7ea3e6f174310
7 _blackver=ea5b463ca0c08fb86420448547a8bc9e2596dc1f
8 pkgdesc="PHP 5.3 compatible API Documentation generator aimed at larger projects and Continuous Integration"
10 url="http://docblox-project.org"
12 depends=('php-xsl' 'graphviz')
14 "$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/tarball/v$pkgver"
15 "$pkgname-template.abstract-$_abstractver.tar.gz::https://github.com/$pkgname/template.abstract/tarball/$_abstractver"
16 "$pkgname-template.new_black-$_blackver.tar.gz::https://github.com/$pkgname/template.new_black/tarball/$_blackver"
21 cd "${srcdir}/docblox-docblox-eac191b"
23 install -m0755 -d "$pkgdir/usr/share/pear/$pkgname"
24 cp -RH data docs src README.md "$pkgdir/usr/share/pear/$pkgname"
25 install -m0644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
27 patch -p0 -i "$srcdir/docblox-bin.patch"
28 install -m0755 -D bin/docblox.php "$pkgdir/usr/bin/docblox"
30 rm -r "$pkgdir/usr/share/pear/$pkgname/data/templates/abstract"
31 mv "$srcdir/docblox-template.abstract-${_abstractver:0:7}" "$pkgdir/usr/share/pear/$pkgname/data/templates/abstract"
33 rm -r "$pkgdir/usr/share/pear/$pkgname/data/templates/new_black"
34 mv "$srcdir/docblox-template.new_black-${_blackver:0:7}" "$pkgdir/usr/share/pear/$pkgname/data/templates/new_black"
37 md5sums=('278c9d34b7bdb537edecd43202f8372c'
38 '393d9485c220e233963de0afed3cb2f5'
39 '5455ea065e8c78350265575a64c69ca2'
40 '8b2940f3db760983d81d82b5300483ed')