updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / sntop / PKGBUILD
blob37c085a7de9b002e50c426a0276948dd9e79f0a7
1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=sntop
4 pkgver=1.4.3
5 pkgrel=1
6 pkgdesc="Curses-based top-esque console utility for monitoring the connectivity of network hosts"
7 arch=('i686')
8 url="http://sntop.sourceforge.net/"
9 license=('GPL')
10 depends=('ncurses' 'fping')
11 install=$pkgname.install
12 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('943a5af1905c3ae7ead064e531cde6e9b3dc82598bbda26ed4a43788d81d6d89')
15 build() {
16   cd ${srcdir}/$pkgname-$pkgver
18   ./configure --prefix=/usr
19   make
22 package() {
23   cd ${srcdir}/$pkgname-$pkgver
25   install -D -m755 $pkgname ${pkgdir}/usr/bin/$pkgname
26   install -D -m644 sntoprc.EXAMPLE ${pkgdir}/usr/share/sntop/sntoprc.EXAMPLE
27   install -D -m644 $pkgname.1 ${pkgdir}/usr/share/man/man1/$pkgname.1