summaryrefslogtreecommitdiff
path: root/community/iftop
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-18 00:02:54 +0000
committerroot <root@rshg054.dnsready.net>2012-03-18 00:02:54 +0000
commitd14a25fc4f65ae3d6e62f4668e9cb88d74834255 (patch)
tree7c4f618283e9b502f0d9cfb5059ce38daa7738be /community/iftop
parent9a940818cc3edb82afac4d73a6474e6e3374f987 (diff)
Sun Mar 18 00:02:53 UTC 2012
Diffstat (limited to 'community/iftop')
-rw-r--r--community/iftop/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/community/iftop/PKGBUILD b/community/iftop/PKGBUILD
index 763ae31ed..18c013068 100644
--- a/community/iftop/PKGBUILD
+++ b/community/iftop/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 17240 2010-05-22 14:21:13Z daenyth $
+# $Id: PKGBUILD 67935 2012-03-16 10:23:32Z giovanni $
# Maintainer: Daenyth <Daenyth+Arch at gmail dot com>
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: Alexander Mieland (dma147) <dma147@linux-stats.org>
@@ -6,21 +6,26 @@
pkgname=iftop
pkgver=0.17
-pkgrel=9
+pkgrel=10
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')
+depends=('libpcap' '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 || return 1
- make || return 1
- make DESTDIR="$pkgdir" install
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man
+ make
}
-# vim:set ts=2 sw=2 et:
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}