summaryrefslogtreecommitdiff
path: root/community/iptstate/PKGBUILD
blob: 4b44509167fba0d95f6c8295ccccf94ee41a3922 (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 71896 2012-06-03 00:25:44Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# Contributor: Andrea Zucchelli <zukka77@gmail.com>

pkgname=iptstate
pkgver=2.2.5
pkgrel=1
pkgdesc='top-like interface to netfilter connection-tracking table'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.phildev.net/iptstate/'
license=('custom')
depends=('gcc-libs' 'ncurses' 'libnetfilter_conntrack')
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
md5sums=('5abe47e473bee256adaf8a48b1141a90')

build() {
  cd $pkgname-$pkgver
  make
}

package() {
  cd $pkgname-$pkgver
  install -D -m755 $pkgname "$pkgdir/usr/sbin/$pkgname"
  install -D -m644 $pkgname.8 "$pkgdir/usr/share/man/man8/$pkgname.8"
  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 ft=sh et: