summaryrefslogtreecommitdiff
path: root/community/netstat-nat/PKGBUILD
blob: 77fa86fefa4899b67efdaff47b6634576e06c6a0 (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
# $Id: PKGBUILD 114107 2014-07-01 13:30:42Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=netstat-nat
pkgver=1.4.10
pkgrel=3
pkgdesc="Small program written in C displaying NAT connections, managed by netfilter."
url="http://tweegy.nl/projects/netstat-nat/"
license=("GPL")
arch=(i686 x86_64)
depends=(iptables)
source=(http://tweegy.nl/download/netstat-nat-$pkgver.tar.gz)
md5sums=('c1bbb3ee9774ebfa27c440e2d9dd7286')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}