summaryrefslogtreecommitdiff
path: root/community/iftop
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-03-18 13:39:32 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-03-18 13:39:32 +0100
commit7e6a790c47fb44426cdda8ea0aca8c247a524c5e (patch)
treea120e55f735660c1ab1e7fa6174fe28fb3108d1f /community/iftop
parente5592a9039761a22a117469303c77a4215ad5048 (diff)
parentd14a25fc4f65ae3d6e62f4668e9cb88d74834255 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/gpsmanshp/PKGBUILD community/parrot/PKGBUILD extra/kdeadmin/PKGBUILD extra/kdebindings-python/PKGBUILD extra/kdegames/PKGBUILD extra/kdesdk/PKGBUILD extra/libmtp/PKGBUILD extra/libreoffice/PKGBUILD extra/samba/PKGBUILD multilib/lib32-libx11/PKGBUILD testing/xf86-video-mga/PKGBUILD testing/xf86-video-mga/git-fixes.patch
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 2cdfc5fab..b22fcee65 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' 'mips64el')
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
+}