summaryrefslogtreecommitdiff
path: root/extra/iptraf-ng/PKGBUILD
blob: 3f9d47ad3cfd85acd5a1cacc871fe3fc42931477 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 198707 2013-11-02 08:25:46Z ioni $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Maintainer: sh0 <mee@sh0.org>

pkgname=iptraf-ng
pkgver=1.1.4
pkgrel=1
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')
source=(https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('de27cfeeede96e2acfb0edc8439b034a')

build() {
  cd "$pkgname-$pkgver"
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --sbindir=/usr/bin
  make CFLAGS="$CFLAGS -std=gnu99"
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR=$pkgdir install
}