1 # Maintainer: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2 # Source: https://github.com/nicoulaj/archlinux-packages
6 pkgdesc="Generate network-diagram image files from spec-text files."
8 url="http://blockdiag.com/en/nwdiag"
10 depends=('python2' 'blockdiag')
11 optdepends=('python-reportlab: to use the PDF output format')
12 makedepends=(python2-distribute)
14 conflicts=('nwdiag-hg')
15 source=("http://pypi.python.org/packages/source/n/${pkgname}/${pkgname}-${pkgver}.tar.gz")
16 md5sums=('be27a6238a5275cc2bbe376fd1c2b6e9')
19 cd "${srcdir}/${pkgname}-${pkgver}"
20 python2 setup.py install --root="$pkgdir/" --optimize=1