4 pkgdesc="A network diagnostics utility"
6 url="https://github.com/benruijl/nd"
8 depends=('iproute2' 'dnsutils' 'diffutils')
11 _gitroot="git://github.com/benruijl/nd.git"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ]; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
23 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting install..."
30 install -D -m755 nd.sh $startdir/pkg/usr/bin/nd