1 # Maintainer: Andrew Cook <ariscop@gmail.com>
6 pkgdesc="Strace extended to include stack traces"
9 url="http://code.google.com/p/strace-plus/"
12 optdepends=('python2')
16 _gitroot="https://code.google.com/p/strace-plus/"
17 _gitname="strace-plus"
20 msg "Connecting to GIT server..."
22 if [ -d ${srcdir}/$_gitname ] ; then
23 cd $_gitname && git pull origin
28 msg "GIT checkout done or server timeout"
29 msg "Starting build..."
31 cd ${srcdir}/${_gitname}
32 ./configure --prefix=/usr
34 make DESTDIR=${pkgdir} install || return 1
36 #resolve conflicts with normal strace
37 mv ${pkgdir}/usr/share/man/man1/strace.1 \
38 ${pkgdir}/usr/share/man/man1/strace+.1
40 mv ${pkgdir}/usr/bin/strace-graph \
41 ${pkgdir}/usr/bin/strace+-graph