1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-railroad-diagrams
5 _commit=c3a16b9dcb06f5d0ae2260f8414136917871d4c5
7 pkgdesc="Generate SVG railroad syntax diagrams, like on JSON.org."
8 url="https://github.com/tabatkins/railroad-diagrams"
12 makedepends=('git' 'python-setuptools')
13 source=("git+https://github.com/tabatkins/railroad-diagrams.git#commit=$_commit")
28 python setup.py install --root="$pkgdir" --optimize=1
30 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/