# Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=iptraf-ng pkgver=1.1.3.1 pkgrel=0 pkgdesc="IP Network Monitoring Software (fork of original iptraf)" url="https://fedorahosted.org/iptraf-ng/" arch="all" license="GPLv2" depends= makedepends="ncurses-dev" install= subpackages="$pkgname-doc" source="https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/iptraf-ng-$pkgver prepare() { cd "$_builddir" } build() { cd "$_builddir" CFLAGS="$CFLAGS -std=gnu99" ./configure --prefix=/usr \ || return 1 make } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } md5sums="1a2c02944b0b012d6a3de96207610fa2 iptraf-ng-1.1.3.1.tar.gz"