blob: 3d0dfddf0e7757695136555c87f97871ee8fd8ef (
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
28
29
30
|
# $Id: PKGBUILD 153597 2012-03-16 13:00:51Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Maintainer: sh0 <mee@sh0.org>
pkgname=iptraf-ng
pkgver=1.1.1
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/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('a48c30c186aafc1e8921b611236b732b')
build() {
cd "$srcdir/$pkgname-$pkgver"
sed s/ncurses5-config/ncursesw5-config/ -i configure.ac
autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var
make CFLAGS="$CFLAGS"
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR=$pkgdir install
}
|