summaryrefslogtreecommitdiff
path: root/community/netwatch/PKGBUILD
blob: 5beed0a695e6ba4c6d0c6b289415be6350bcc3b2 (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
# $Id: PKGBUILD 59160 2011-11-21 12:43:25Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=netwatch
pkgver=1.3.0
pkgrel=2
pkgdesc="monitor network connections"
arch=(i686 x86_64 'mips64el')
url="http://www.slctech.org/~mackay/NETWATCH/netwatch.html"
license=('GPL')
options=(zipman)
depends=(ncurses)
source=(http://www.slctech.org/~mackay/NETWATCH/netwatch-$pkgver-1.tgz)
md5sums=('9168c20c1984e9d126d1a0ec1eb0c1d3')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  unset CFLAGS
  ./configure --prefix=/usr
  make

  install -D -m0755 netwatch $pkgdir/usr/bin/netwatch
  install -D -m0755 netresolv $pkgdir/usr/bin/netresolv
  install -D -m0644 netwatch.1 $pkgdir/usr/share/man/man1/netwatch.1
}