summaryrefslogtreecommitdiff
path: root/community/jnettop/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/jnettop/PKGBUILD')
-rw-r--r--community/jnettop/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/jnettop/PKGBUILD b/community/jnettop/PKGBUILD
new file mode 100644
index 000000000..2c006554d
--- /dev/null
+++ b/community/jnettop/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 96415 2013-08-28 09:24:47Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com
+# Contributor: Paul Bredbury <brebs@sent.com>
+
+pkgname=jnettop
+pkgver=0.13.0
+pkgrel=4
+pkgdesc="A top-like console network traffic visualizer"
+arch=(i686 x86_64)
+url="http://jnettop.kubs.info/wiki/"
+license=('GPL')
+depends=('libpcap' 'glib2')
+makedepends=('pkgconfig')
+source=("http://jnettop.kubs.info/dist/$pkgname-$pkgver.tar.gz")
+md5sums=('9529d75011026b3fcaf185b2fb063881')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}