summaryrefslogtreecommitdiff
path: root/extra/iptraf-ng/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/iptraf-ng/PKGBUILD')
-rw-r--r--extra/iptraf-ng/PKGBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/extra/iptraf-ng/PKGBUILD b/extra/iptraf-ng/PKGBUILD
index b47082e86..bfd0634f0 100644
--- a/extra/iptraf-ng/PKGBUILD
+++ b/extra/iptraf-ng/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 121278 2011-04-30 08:10:51Z ibiru $
+# $Id: PKGBUILD 147066 2012-01-21 14:18:43Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Maintainer: sh0 <mee@sh0.org>
pkgname=iptraf-ng
-pkgver=1.0.2
-pkgrel=2
+pkgver=1.1.0
+pkgrel=1
pkgdesc="A console-based network monitoring utility (a fork of original iptraf)"
url="https://fedorahosted.org/iptraf-ng/"
arch=('i686' 'x86_64' 'mips64el')
@@ -12,20 +12,20 @@ depends=('ncurses')
license=('GPL2')
replaces=('iptraf')
options=('!libtool')
-source=(https://fedorahosted.org/releases/i/p/iptraf-ng/${pkgname}-${pkgver}.tar.gz)
-md5sums=('b2adbbbee4c269fb97a1951981c9047c')
+source=(https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('79a3787027515f688a35173ffbee6432')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ sed s/ncurses5-config/ncursesw5-config/ -i configure.ac
+ autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static
+ --localstatedir=/var
make CFLAGS="$CFLAGS"
}
package() {
- cd "$srcdir/${pkgname}-${pkgver}"
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR=$pkgdir install
- install -dm755 "${pkgdir}/var/lib/iptraf"
+ install -dm755 "$pkgdir/var/lib/iptraf"
}
-
-# vim: ts=2: ft=sh