# $Id: PKGBUILD 121278 2011-04-30 08:10:51Z ibiru $ # Maintainer: Ionut Biru # Maintainer: sh0 pkgname=iptraf-ng pkgver=1.0.2 pkgrel=2 pkgdesc="A console-based network monitoring utility (a fork of original iptraf)" url="https://fedorahosted.org/iptraf-ng/" arch=('i686' 'x86_64') depends=('ncurses') license=('GPL2') replaces=('iptraf') options=('!libtool') source=(https://fedorahosted.org/releases/i/p/iptraf-ng/${pkgname}-${pkgver}.tar.gz) md5sums=('b2adbbbee4c269fb97a1951981c9047c') build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static make CFLAGS="$CFLAGS" } package() { cd "$srcdir/${pkgname}-${pkgver}" make DESTDIR=$pkgdir install install -dm755 "${pkgdir}/var/lib/iptraf" } # vim: ts=2: ft=sh