summaryrefslogtreecommitdiff
path: root/community/jnettop/PKGBUILD
blob: 2c006554de1f5d96b120b3f53863956d0fbcf728 (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 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
}