summaryrefslogtreecommitdiff
path: root/extra/iptraf-ng/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-04 00:01:23 +0000
committerroot <root@rshg054.dnsready.net>2012-06-04 00:01:23 +0000
commit1e6588d64f084decf287a58b7ff93ff0ce4d0446 (patch)
tree29bf5b8778e1eb67871d9e6e8bb6e205bdde5db7 /extra/iptraf-ng/PKGBUILD
parent80053e720288b6205a59c52c1b31c14a0f830989 (diff)
Mon Jun 4 00:01:23 UTC 2012
Diffstat (limited to 'extra/iptraf-ng/PKGBUILD')
-rw-r--r--extra/iptraf-ng/PKGBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/extra/iptraf-ng/PKGBUILD b/extra/iptraf-ng/PKGBUILD
index 3d0dfddf0..86075450f 100644
--- a/extra/iptraf-ng/PKGBUILD
+++ b/extra/iptraf-ng/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 153597 2012-03-16 13:00:51Z ibiru $
+# $Id: PKGBUILD 160611 2012-06-02 21:10:00Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Maintainer: sh0 <mee@sh0.org>
pkgname=iptraf-ng
-pkgver=1.1.1
-pkgrel=2
+pkgver=1.1.3.1
+pkgrel=1
pkgdesc="A console-based network monitoring utility (a fork of original iptraf)"
url="https://fedorahosted.org/iptraf-ng/"
arch=('i686' 'x86_64')
@@ -13,18 +13,16 @@ license=('GPL2')
replaces=('iptraf')
options=('!libtool')
source=(https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('a48c30c186aafc1e8921b611236b732b')
+md5sums=('1a2c02944b0b012d6a3de96207610fa2')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- sed s/ncurses5-config/ncursesw5-config/ -i configure.ac
- autoreconf -fi
+ cd "$pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var
- make CFLAGS="$CFLAGS"
+ --localstatedir=/var --sbindir=/usr/sbin
+ make CFLAGS="$CFLAGS -std=gnu99"
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
make DESTDIR=$pkgdir install
}