1 # Contributor: tocer <tocer.deng@gmail.com>
6 pkgdesc="A Python script to convert the output from many profilers into a dot graph."
7 url="http://code.google.com/p/jrfonseca/wiki/Gprof2Dot"
11 makedepends=("mercurial")
12 _hgroot="https://gprof2dot.jrfonseca.googlecode.com/hg/"
19 if [ -d ${_hgrepo} ]; then
23 hg clone ${_hgroot}/${_hgrepo}
27 msg "Starting build process."
28 sed -i '1s/python$/python2/' gprof2dot.py
29 install -D -m 755 gprof2dot.py $pkgdir/usr/bin/gprof2dot