updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / docblox / PKGBUILD
blobf987b11d106c1ad3c771c53131d453f4a430b5b9
1 # Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
3 pkgname=docblox
4 pkgver=0.18.1
5 pkgrel=1
6 _abstractver=80d829deb5892f209a85f83ae3a7ea3e6f174310
7 _blackver=ea5b463ca0c08fb86420448547a8bc9e2596dc1f
8 pkgdesc="PHP 5.3 compatible API Documentation generator aimed at larger projects and Continuous Integration"
9 arch=("any")
10 url="http://docblox-project.org"
11 license=('CUSTOM')
12 depends=('php-xsl' 'graphviz')
13 source=(
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"
17         docblox-bin.patch
20 build() {
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')