1 # Daniel J Griffiths <ghost1227@archlinux.us>
6 pkgdesc="A debugging library for instrumenting C and C++ programs."
8 url="http://pipapo.org/pipawiki/NoBug"
11 optdepends=('valgrind')
14 _gitroot="git://git.pipapo.org/nobug"
19 msg "Connecting to GIT server...."
21 if [ -d ${_gitname} ] ; then
22 cd ${_gitname} && git pull origin
23 msg "The local files are updated."
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf ${srcdir}/${_gitname}-build
32 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
33 cd ${srcdir}/${_gitname}-build
36 ./configure --prefix=/usr || return 1
38 make DESTDIR=${pkgdir} install || return 1