# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Jeff Mickey # Contributor: Alexander Mieland (dma147) # Contributor: slubman pkgname=iftop pkgver=0.17 pkgrel=8 pkgdesc="iftop does for network usage what top(1) does for CPU usage" arch=('i686' 'x86_64') url="http://www.ex-parrot.com/~pdw/iftop/" license=('GPL') depends=('libpcap>=1.0.0' 'ncurses') options=('!makeflags') source=(http://www.ex-parrot.com/~pdw/$pkgname/download/$pkgname-$pkgver.tar.gz) md5sums=('062bc8fb3856580319857326e0b8752d') build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --mandir=/usr/share/man make || return 1 make DESTDIR="$pkgdir" install }